Mercurial undo command
Bryan O'Sullivan
bos at serpentine.com
Mon May 8 11:16:44 CDT 2006
On Mon, 2006-05-08 at 10:41 -0500, TK Soh wrote:
> > I would suggest "uncommit" and "unpull", to make it clear that only
> > commit and pull have "reverse" operations.
>
> +1
Unfortunately, this is not correct.
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.
"rollback" is a better name. A few doc comments that describe which
commands can actually be rolled back, so that this can be seen when
doing "hg help rollback", would then make all the difference.
<b
More information about the Mercurial
mailing list