[issue683] peculiarity with hg revert of an removed then added file

John Levon mercurial-bugs at selenic.com
Mon Aug 13 19:47:08 CDT 2007


New submission from John Levon <levon at movementarian.org>:

$ cat a.sh
#!/bin/bash
rm -rf a
hg init a
cd a
echo a >a
hg add a
hg commit -m 'a'
hg remove a
hg cat -r tip a >a
hg add a
hg st
hg revert a
hg st
$ ./a.sh
A a
A a
? a.orig

By my reckoning, 'a' should not be showing up the in the hg status output
the second time.

----------
messages: 3805
nosy: movement
priority: bug
status: unread
title: peculiarity with hg revert of an removed then added file

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue683>
____________________________________________________



More information about the Mercurial-devel mailing list