Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id j18IgD2r028736 for ; Tue, 8 Feb 2005 18:42:14 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 63BBF7700E for ; Tue, 8 Feb 2005 18:43:08 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyaXK-0004Jr-3e for migo@homemail.com; Tue, 08 Feb 2005 13:56:34 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyaWR-0004Hx-Et for gnu-arch-users@gnu.org; Tue, 08 Feb 2005 13:55:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyaWL-0004FV-PS for gnu-arch-users@gnu.org; Tue, 08 Feb 2005 13:55:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyaWL-0004F6-Lb for gnu-arch-users@gnu.org; Tue, 08 Feb 2005 13:55:33 -0500 Received: from [128.255.17.47] (helo=server07.icaen.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CyaHg-0003d6-RC for gnu-arch-users@gnu.org; Tue, 08 Feb 2005 13:40:25 -0500 Received: from server11.icaen.uiowa.edu (server11.icaen.uiowa.edu [128.255.17.51]) by server07.icaen.uiowa.edu (8.13.2/8.12.9) with ESMTP id j18IeBST018898; (envelope-from ) Tue, 8 Feb 2005 12:40:11 -0600 (CST) Received: from [192.168.1.100] (12-217-241-0.client.mchsi.com [12.217.241.0]) (authenticated user=jfmeinel) by server11.icaen.uiowa.edu (8.13.2/smtp-serv-1.7) with ESMTP id j18Ie97f019700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256); (envelope-from ) Tue, 8 Feb 2005 12:40:10 -0600 (CST) Message-ID: <42090785.7090501@arbash-meinel.com> Date: Tue, 08 Feb 2005 12:40:05 -0600 From: John Arbash Meinel User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Geiss Subject: Re: [Gnu-arch-users] Temporary off-line archive References: <20050208035438.GA13718@maelstorm.bearhouse.lan> In-Reply-To: X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: ClamAV 0.80/682/Mon Jan 24 12:53:43 2005 clamav-milter version 0.80j on clamav.icaen.uiowa.edu X-Virus-Scanned: ClamAV 0.80/685/Wed Jan 26 03:08:24 2005, clamav-milter version 0.75 on clamav.icaen.uiowa.edu X-Virus-Status: Clean X-Virus-Status: Clean Cc: gnu-arch-users@gnu.org, gnu-arch@austinblues.dyndns.org X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1988595698==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 5167 Lines: 125 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1988595698== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB5B04DDD379FB72544F29B90" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB5B04DDD379FB72544F29B90 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Kevin Geiss wrote: > do you have a mirror of the desktop archive on your laptop? or > somewhere? if you don't already have a mirror of the archive, I think > you may have a problem. (at least I don't know what to tell you to do, > other than keep working on the laptop, and create-changeset whenever > you would normally commit) > > if you do have a mirror of the archive, everything is easy. just > create a new archive on your laptop, then in the new archive, create a > tag from the mirror of anything you want to work on. then you can > commit in the new archive whenever you want. when the desktop comes > back, you can star-merge from the laptop archive back into the desktop > archive. > > On Feb 7, 2005, at 8:54 PM, Jeffrey L. Taylor wrote: > >> I have been doing development on my laptop with the archive on my >> desktop. The desktop MB died. It will be several days until I can >> get a replacement. In the meantime, I would like to continue >> develoment on the laptop, checking new code in, etc. When the desktop >> is functional again, I would like to transfer all revisions from the >> laptop archive to the desktop archive. Anything I should know about >> creating the archive on the laptop to make this easy? >> >> TIA, >> Jeffrey > Actually, if you have a *complete* mirror of the original archive (at least complete enough that you are happy) you can promote the mirror into being the new master. If the mirror is fully complete, simply removing the =meta-info/mirror file and re-register the mirror with the original archive name, and to your system, it is the master. The *GIANT* caveat here is that you can never have 2 patches with the same fully qualified name. (your@archive--2004/prog--dev--0.1--patch-3). So if your mirror was not complete (say it was missing patch-4), if you did a fresh checkout and commit, it would create a new patch-4. This patch conflicts with the other patch, and potentially invalidates the universe. (Think Back to the Future, past selves and present selves can never meet :) When the desktop comes back online, you can add the =meta-info/mirror file, and register the desktop archive as a mirror. Then "tla archive-mirror" will fill the desktop archive. After this, you can switch them back. It is generally okay to jump back and forth. As long as there is only 1 master archive where everything is committed, and it is fully sync'ed before switching, nothing will break. For a single user archive, this can be pretty helpful. The problem is that in a multi-user archive, it is really hard to enforce the "only 1 archive is master at any one time, and all archives are kept in sync" rule. Arch has 1 really strong rule, and that is a fully qualified revision name is unique within the universe. (It only needs to be unique in the universe that you interact with, but if you interact with it, and someone else does, and someone else... Pretty soon it starts to go everywhere.) That's why an email address is used as part of the archive. Because if you use your domain name, ICANN does a pretty good job of making that unique in the world. And your username is usually unique within your domain, otherwise who would they send email to. It's a neat trick for getting global uniqueness by piggy-backing on something else that is rather unique. Sorry for the somewhat long rant, but if you understand the philosophy, it might show you what you can do. John =:-> PS> If you don't have a mirror of the archive, things get a bit trickier. If you have a fully populated revision library, you could recreate an archive from that, but I'm pretty sure "tla tag" requires access to the original archive. It seems like it is theoretically possible to do if you have a pristine tree to do a tag + cacherev. Maybe we should add this for the disaster recovery cases. --------------enigB5B04DDD379FB72544F29B90 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCCQeKJdeBCYSNAAMRAqgYAJ9Y7Yl2lLhgjHNHxCk1BztcYay8GACdEGY7 VzKsoreIEXbrcoE+W1rOD28= =njvY -----END PGP SIGNATURE----- --------------enigB5B04DDD379FB72544F29B90-- --===============1988595698== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============1988595698==--