[issue283] Add options to revert to revert only files of a certain status

Thomas Arendsen Hein thomas at intevation.de
Tue Jun 6 11:39:25 CDT 2006


* Sébastien Pierre <sebastien at xprima.com> [20060606 17:47]:
> Le lundi 05 juin 2006 à 18:19 -0500, TK Soh a écrit :
> Maybe we could handle the case where -rXXX means a revision, otherwise
> it means an option ?
> 
> hg revert -r43 -r 
> 
> would not seem that strange to me, as -rREV is explictely stated as
> being the first argument to revert:
> 
> hg revert [-r REV] [NAME]...

hg revert -r 43

should that revert to rev 43 or revert all removed files below
directory 43? And think of tags instead of revision numbers, so you
can't even use heuristics like "Hey, only numbers".

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list