Mercurial undo command

Colin McMillen mcmillen at cs.cmu.edu
Mon May 8 11:26:01 CDT 2006


> The unbundle command can also be rolled back, as can import, as can an
> incoming push.  Having a proliferation of command names with "un-"
> prefixes is not helpful.

If the problem is merely with the plethora of command names that would
result, I suggest removing "undo" altogether and adding an --undo
option to commands that support it:

hg commit --undo
hg unbundle --undo

... etc.

- 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/048913e1/attachment.pgp


More information about the Mercurial mailing list