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

Sébastien Pierre sebastien at xprima.com
Mon Jun 5 17:14:13 CDT 2006


Le lundi 05 juin 2006 à 23:42 +0200, Markus F.X.J. Oberhumer a écrit :
> Thomas Arendsen Hein wrote:
> > New submission from Thomas Arendsen Hein <thomas at intevation.de>:
> > 
> > hg revert should take the same flags as hg status:
> >  -m --modified   revert modified files (overwrite local changes)
> >  -a --added      revert added files (don't add on commit)
> >  -r --removed    revert removed files (undelete file)
> 
> It might be too late anyway, but I'd strongly suggest unifying the 
> interface meaning -r stands for revision in all commands (this would affect 
> at least hg status as well).

I would vote for that too. Consistence is very important for usability.

 -- Sébastien




More information about the Mercurial mailing list