Mercurial undo command

Bryan O'Sullivan bos at serpentine.com
Mon May 8 10:10:25 CDT 2006


On Mon, 2006-05-08 at 11:02 -0400, Sébastien Pierre wrote:

> Is it a design choice that "undo" is only able to undo the last commit
> or pull ?

Yes.  It just undoes the effect of the last transaction.

It's probably not a well-chosen name for newcomers; "hg rollback" is a
name that is more descriptive, and would be less likely to get stumbled
upon by accident.

If someone were to send in a patch that renamed "undo" to "rollback",
I'd be happy.

	<b



More information about the Mercurial mailing list