[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: [PATCH] tla revert
From: |
Miles Bader |
Subject: |
[Gnu-arch-users] Re: [PATCH] tla revert |
Date: |
07 Sep 2003 23:49:18 +0900 |
Damien Elmes <address@hidden> writes:
> > They run undo and the changes are gone. Then they make more
> > changes that they like, and submit a changeset up to the maintainer. Will
> > the maintainer see evidence of the work that was previously undone?
>
> Nope - it's left around as ',,undo-n' where n is an undo number. That
> denotes a 'junk' file which is never to go into changesets. It just
> sits around in the working directory.
... and just to make the point clear, N gets incremented with each undo,
and redo will pick the highest numbered ,,undo-N, and redo that only,
deleting the redone ,,undo-N dir.
You can have various undone changesets sitting around, and it's
perfectly safe to undo even good changes to quickly work on some other
bug for a while -- you don't need to worry about one undo overwriting
the previous one. You can also move the ,,undo-N dir somewhere else in
case you'd like to revisit those changes later...
It's generally just very useful.
-Miles
--
Is it true that nothing can be known? If so how do we know this? -Woody Allen
Undo of individual files (was Re: [Gnu-arch-users] [PATCH] tla revert), Momchil Velikov, 2003/09/07