[issue294] hg remove --after dir fails when dir.* also exists
Brendan Cully
mercurial-bugs at selenic.com
Wed Jun 21 15:26:46 CDT 2006
New submission from Brendan Cully <brendan at kublai.com>:
Create a repository like so:
hg init foo
cd foo
mkdir foo
touch foo/foo
touch foo.h
hg add
hg commit -m'foo'
Then try this:
rm -r foo
hg rm -A foo
This looks like it might be a bug in dirstate.filterfiles?
if len(s) > len(x) and s.startswith(x) and s[len(x)] == '/':
ret[s] = self.map[s]
else:
break
----------
messages: 1567
nosy: brendan
priority: bug
status: unread
title: hg remove --after dir fails when dir.* also exists
topic: matcher
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue294>
____________________________________________________
More information about the Mercurial
mailing list