[issue3333] qrefresh picks up deleted files as removed

Matthew Fernandez bugs at mercurial.selenic.com
Thu Mar 22 21:24:52 CDT 2012


New submission from Matthew Fernandez <matthew.fernandez at nicta.com.au>:

When doing `hg qrefresh', it adds missing tracked files in the directory to
your patch as if they were `hg rm'ed. This may be intentional behaviour, but
it is confusing as this is not how `hg commit' behaves.

To replicate:
hg init
touch foo
hg add foo
hg commit -m "blah"
hg qnew bar
rm foo
hg st
 Shows: ! foo
hg qrefresh
hg st
 Shows nothing
hg qdiff
diff --git a/foo b/foo
deleted file mode 100644

hg --version: 2.1
uname-r: 2.6.35-32-generic

----------
messages: 19440
nosy: mfernandez
priority: bug
status: unread
title: qrefresh picks up deleted files as removed

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


More information about the Mercurial-devel mailing list