hg revert

Thomas Arendsen Hein thomas at intevation.de
Sat Jul 2 21:02:16 UTC 2005


* Bryan O'Sullivan <bos at serpentine.com> [20050702 22:47]:
> This patch adds the "hg revert" command.  It uses the same machinery as
> the "update" command, only modifying it slightly to add a filtering
> capability to hg.update.

I propose to combine 'update' and 'revert', though this means
changing the usage of 'update' when specifying a revision, i.e. the
-r flag has to be given.

On the other hand it might be good for consistency to always have to
use the -r flag, so for export, too.

>     -R, --recursive    revert files in all subdirs of named dirs

Uh, -R is already a global flag and Matt wanted to allow flags
specified anywhere on the command line, which is a good thing.
But currently I don't have a better suggestion, except maybe for
always use recursion.

Thomas

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



More information about the Mercurial mailing list