[issue2143] workingctx.walk includes deleted files
Eric Eisner
bugs at mercurial.selenic.com
Fri Apr 16 20:07:02 UTC 2010
New submission from Eric Eisner <ede at mit.edu>:
Demonstrated by the following test (on 1.5.1 and crew/default)
$ hg init test
$ cd test
$ echo a>>a
$ echo b>>b
$ hg commit -Amab
$ hg rm a
$ hg mv b c
$ ls
c
$ hg locate
a
b
c
workingctx.walk includes files that do not exist, which seems incorrect to
me.
Maybe dirstate.walk could have another boolean option "deleted" to
complement the unknown and ignored options.
----------
messages: 12295
nosy: ede
priority: bug
status: unread
title: workingctx.walk includes deleted files
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2143>
____________________________________________________
More information about the Mercurial-devel
mailing list