confused about 'hg strip' results
Johan Samyn
johan.samyn at gmail.com
Sat Feb 27 12:01:14 CST 2010
Hi,
Platform : Mercurial 1.3.1 on Ubuntu 9.04
I was surprised about the result of the 'hg strip' command, as in the
session hereafter :
<clip>
[prompt]> echo bbb > b
[prompt]> hg add b
[prompt]> hg ci -m "add b"
[prompt]> hg log -l 3 # find revno to strip
...
[prompt]> hg strip REV
...
[prompt]> ls -la
a
c
...
[prompt]> hg cifiles
a
b
c
...
[prompt]>
</clip>
I understand the file is not back in the working tree, as that is the
job of 'hg revert'.
But then why does 'hg cifiles' still report it ?
This seems contradictory to me. Or what am I missing ?
Johan
More information about the Mercurial
mailing list