Is this the expected revert behaviour ?

Sébastien Pierre sebastien at xprima.com
Fri May 5 09:15:49 CDT 2006


Le vendredi 05 mai 2006 à 10:20 +0200, Christian Boos a écrit :

> So I'd propose something like:
> 
> revert [-r REV] [NAME]…
>     Change the content of the working directory to match the specified
>     revision. without changing the working directory parent
> 
> update [-b TAG] [-m] [-C] [-f] [REV]
>     Change the working directory parent to the specified revision. The
>     content of the working directory will change depending on the options.

I find this really good :

 - we see that 'update' and 'revert' have the same basic functionality
 - excepted that update changes the parent dir
 - the common points and differences are made clear and immediately
spottable

So the next question is : is there really a need for revert ? (there
could be an option in update to (not) change the WD parent).

 -- Sébastien




More information about the Mercurial mailing list