'hg help revert' is misleading
Zbynek Winkler
zwin at users.sourceforge.net
Thu Sep 22 09:58:18 CDT 2005
Hello, IMHO the output of 'hg help revert' is misleading or the revert
command does not do what it is supposed to.
$ hg help revert
hg revert [-n] [-r REV] [NAME]...
revert modified files or dirs back to their unmodified states
options:
-n --nonrecursive don't recurse into subdirs
-r --rev revision
According to this description I would expect it to behave like
(fictious) 'hg update -C [NAME]'. I would expect it to revert all
changes pending in my working copy. I don't understand what the '-r REV'
is for...
How do I return part of my working tree to an unmodified state?
Thanks.
Zbynek
--
http://zw.matfyz.cz/ http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic
More information about the Mercurial
mailing list