Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iAEM4qjo027426 for ; Sun, 14 Nov 2004 22:04:52 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 0628D775F0 for ; Sun, 14 Nov 2004 22:04:56 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTSd7-0001qI-2v for migo@homemail.com; Sun, 14 Nov 2004 17:13:53 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTScl-0001px-S2 for gnu-arch-users@gnu.org; Sun, 14 Nov 2004 17:13:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTScl-0001pX-1S for gnu-arch-users@gnu.org; Sun, 14 Nov 2004 17:13:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTSck-0001pU-TM for gnu-arch-users@gnu.org; Sun, 14 Nov 2004 17:13:30 -0500 Received: from [202.173.153.89] (helo=snoopy.apana.org.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTSTb-00024F-No for gnu-arch-users@gnu.org; Sun, 14 Nov 2004 17:04:04 -0500 Received: from localhost (snoopy.apana.org.au [127.0.0.1]) by snoopy.apana.org.au (Postfix) with ESMTP id 006CED81E8; Mon, 15 Nov 2004 09:03:57 +1100 (EST) Received: from snoopy.apana.org.au ([127.0.0.1]) by localhost (snoopy [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04798-06; Mon, 15 Nov 2004 09:03:57 +1100 (EST) Received: by snoopy.apana.org.au (Postfix, from userid 10003) id 91244D81E1; Mon, 15 Nov 2004 09:03:57 +1100 (EST) To: gnu-arch-users@gnu.org Subject: Re: [Gnu-arch-users] Removing the last changeset(s) from the archive References: <20041114111431.E15533@mofo.meme.com> <4197AAA5.7080501@panoramicfeedback.com> <20041114131601.O15533@mofo.meme.com> From: Brian May Mail-Followup-To: gnu-arch-users@gnu.org Date: Mon, 15 Nov 2004 09:03:57 +1100 In-Reply-To: <20041114131601.O15533@mofo.meme.com> (Karl O. Pinc's message of "Sun, 14 Nov 2004 13:16:01 -0600") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at snoopy.apana.org.au 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: 1741 Lines: 47 >>>>> "Karl" == Karl O Pinc writes: Karl> On 2004.11.14 12:57 Aaron Bentley wrote: >> Karl O. Pinc wrote: >>> I'll fix the bug and commit the change, but do something >>> wrong and accidently include portions of my larger problem >>> in the commit. It'd be nice to be able to 'do over'. >> How about tla replay --reverse $REVSIION; tla sync-tree $REVISION; >> tla commit -s "undid botched bugfix"? Karl> The bugfix was not botched, the archive is botched. I want Karl> the tree I've got, I just want to make two commits instead of one. Karl> (Or make one partial commit now and others later.) So make that 3 commits instead: 1 commit is the botched one. 1 commit reverses the botched one so that everything is exactly the way it was before. 1 commit is the commit exactly the one you originally intended. That way: * you have complete history of everything (including mistake). * you don't mess up other archives no matter how up-to-date they are. * you still have 1 small patch for the bug fix. While there might be circumstances where you have to physically delete a changeset (e.g. if you accidently commit an excessively large or private file to a public archive), I don't think this is one of them. It could also be argued that you should always run "tla changes --diffs" before "tla commit" to minimize the chance of a mistake (although that doesn't help if you forget to include the filename in "tla commit"). -- Brian May _______________________________________________ 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/