Is this the expected revert behaviour ?

Vadim Gelfer vadim.gelfer at gmail.com
Fri May 5 13:06:13 CDT 2006


On 5/5/06, Bryan O'Sullivan <bos at serpentine.com> wrote:

> By default, "hg revert" reverts the entire working directory if passed
> no arguments.  You can't lose any work, since it saves .orig files if
> necessary, but it could be annoying anyway.

is true.

> I think revert should require at least one name to revert.  If you
> really want to revert the entire working dir, just do something like
> this:
>
>     hg revert $(hg root)

ok, i will write fix.



More information about the Mercurial mailing list