reverting changes nondestructively

Robin Farine robin.farine at terminus.org
Sat Dec 3 17:52:01 UTC 2005


On Saturday December 3 2005 19:05, Aurelien Jacobs wrote:

> Here I don't need -A :
>
> hg init
> echo "line1" > a
> hg commit -A -m l1
> echo "line2" >> a
> hg commit -m l2
> hg revert -r 0
> hg commit -m revert0
> hg log -p

Yes, in this case revert neither removes nor resurrects any file so 
-A is not needed.

Robin



More information about the Mercurial mailing list