Multiple undo again...
Paul Boddie
paul.boddie at biotek.uio.no
Fri Jun 4 13:45:51 UTC 2010
Jason Harris wrote:
> Hi All,
>
> I'll raise this issue again since Martin asked about it indirectly... Ie why does MacHg have its own copy of Mercurial.
>
> Basically I want to be able to roll back multiple steps when doing something dangerous, eg some mq operations, histedit operations, etc... Multiple undo and redo is eg listed under "Caracteristics of great software in the Apple human interface guidelines." It should be supported in MacHg.
>
Surely you can have it both ways: you can "undo" by updating to a
previous revision, and then if that "undo" itself needs undoing, you can
update to the original revision; if you don't want to be able to "redo",
as it were, you could then support some kind of cloning plus replaying
of unwanted changesets to purge them from a pristine repository. I guess
that's possible and that my explanation makes some kind of sense.
Having a undo/redo tree is much more powerful - and can be more
intuitive and natural - than a linear undo function, regardless of what
Apple says on the matter. ;-)
Paul
More information about the Mercurial-devel
mailing list