|
From: | Aaron Bentley |
Subject: | Re: [Gnu-arch-users] New aba command: revert, name clash with tla sh |
Date: | Sun, 28 Mar 2004 13:21:46 -0500 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
David Allouche wrote:
On Fri, Mar 26, 2004 at 03:24:41PM -0600, Parker, Ron wrote:As long as were debating alias names, how about "aba repent" for throwing away an errant commit when you realize 5 seconds too late that you've screwed up. j/kWould be nice indeed, and quite the ugly kind of things which falls within aba vocation. Just go ahead, it would not be very difficult to get working for local archives, which is about the only case where it is safe. Just remember cleaning the revlibs. Also it would make sense to make it an interactive command, required the user to type something like "yes I want to risk breaking my universe". :)
Here's an alternative that doesn't take the risk of changing history:Given patch-16 as the bad revision, and patch-15 as the last good one, tag into the same branch:
$ tla tag foo--bar--0--patch-15 foo--bar--0This turns patch-16 into an interesting historical footnote, rather than part of the ancestry of patch-17 etc.
That's permitted by the archive format, and given the amount of effort I've invested in handling that case in the backbuilder, it would be nice to see someone use it.
Aaron
[Prev in Thread] | Current Thread | [Next in Thread] |