[issue283] Add options to revert to revert only files of a certain status
Bryan O'Sullivan
bos at serpentine.com
Tue Jun 6 18:31:19 UTC 2006
On Mon, 2006-06-05 at 23:42 +0200, Markus F.X.J. Oberhumer wrote:
> 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).
The logical thing to do would be to uppercase all of the one-character
options to "hg status", then, and use those same names for "hg revert".
So -r becomes -R, and everyone heaves a sigh of relief.
<b
More information about the Mercurial
mailing list