Received: from spf1.us4.outblaze.com (spf1.us4.outblaze.com [205.158.62.23]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iAI3wlYh016907 for ; Thu, 18 Nov 2004 03:58:47 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf1.us4.outblaze.com (Postfix) with ESMTP id C772A53BB4 for ; Thu, 18 Nov 2004 03:58:49 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUdaI-00046w-94 for migo@homemail.com; Wed, 17 Nov 2004 23:07:50 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CUdZv-00046Z-Tp for gnu-arch-users@gnu.org; Wed, 17 Nov 2004 23:07:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CUdZv-00046N-GF for gnu-arch-users@gnu.org; Wed, 17 Nov 2004 23:07:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUdZv-00046K-EI for gnu-arch-users@gnu.org; Wed, 17 Nov 2004 23:07:27 -0500 Received: from [66.219.42.66] (helo=smtp.isgenesis.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CUdR2-0001uM-OZ for gnu-arch-users@gnu.org; Wed, 17 Nov 2004 22:58:17 -0500 Received: from ccd.vpn.isgenesis.com (ccd.vpn.isgenesis.com [::ffff:192.168.99.6]) (AUTH: LOGIN ccd, SSL: TLSv1/SSLv3,128bits,RC4-MD5) by smtp.isgenesis.com with esmtp; Wed, 17 Nov 2004 21:58:15 -0600 Subject: Re: [Gnu-arch-users] Re: How to rename a category? From: Charles Duffy To: gnu-arch-users@gnu.org In-Reply-To: <20041118033618.GE12710@kat> References: <20041117044914.GK11566@kat> <419ADBD1.6040206@arbash-meinel.com> <20041117054311.GL11566@kat> <20041117150911.GM11566@kat> <1100717265.15201.190.camel@localhost> <20041118033618.GE12710@kat> Date: Wed, 17 Nov 2004 21:58:11 -0600 Message-Id: <1100750292.15201.216.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Mailer: Evolution 2.0.2 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: , 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: 2281 Lines: 54 On Wed, 2004-11-17 at 20:36 -0700, Michaeljohn Clement wrote: > On Wed, Nov 17, 2004 at 12:47:45PM -0600, Charles Duffy wrote: > >Renaming a category is changing history. > > It doesn't have to be. How can it not be? You checked in foo--bar--0.1--base-0; now, you're making foo--bar--0.1--base-0 refer to something else. If you record FOO as part of the historical record, and someone later who asks for FOO gets something different, history has been changed. [Okay, yes, I understand that projects have identity beyond their names -- but the existing solution has a fair bit going for it from a pragmatic perspective; folks who want an extra layer can do that, either w/ different software or something akin to build configs]. > >You're changing what revision $FOO was called when it was checked in; > >that's part of its history. > > Projects morph. The continuous history of the code is bound more > tightly to our conception of the identity of a project than the name. > It would be nice if arch mapped current names onto an arbitrary, static, > and non-semantic namespace. Hrm. If you want to discuss this further, any chance you could provide a more concrete proposal? > >Now, if you want to just do this for future revisions, that's a whooole > >different kettle of fish. Tag from foo--dev--0.1 to bar--dev--0.1, and > >create a new branch foo--new--0.1 (or foo--dev--0.2, or whatever). Now, > >you have the correct names for future work, but you haven't changed the > >past. > > Almost good enough, but then when I check out foo--dev--0.1 (actually > just foo--0 in this case) in a couple months when I need it again, I'm > going to have a Monty Python moment until I remember what happened. I'm > pretty insistent about limiting the number of things I have to remember. Create your new branch on the end of foo--0, after the history that's previously there? Not sure if you can do a second import into the same version, but you can at least do an import onto a different branch and then tag it in. [This has some avoidable caveats]. _______________________________________________ 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/