Mercurial undo command

Colin McMillen mcmillen at cs.cmu.edu
Mon May 8 11:36:24 CDT 2006


> > hg commit --undo
> > hg unbundle --undo
> 
> No, rollback is more correct. We can't undo the last commit if we've
> done a pull since then. And we can only do rollback once.

This is true. :) I then propose adding a --rollback option for
commands that support it, like:

hg commit --rollback

Any other problems with this idea?

- Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://www.selenic.com/pipermail/mercurial/attachments/20060508/f088264a/attachment.pgp


More information about the Mercurial mailing list