changeset 9397 | 5b117c90f036 |
parent 9386 | eae98607b349 |
child 9417 | 4c3fb45123e5 |
--- a/mercurial/util.py Fri Aug 07 15:40:51 2009 +0200 +++ b/mercurial/util.py Wed Jul 29 14:21:18 2009 +0200 @@ -661,8 +661,9 @@ contents = _fspathcache[dir] lpart = part.lower() + lenp = len(part) for n in contents: - if n.lower() == lpart: + if lenp == len(n) and n.lower() == lpart: result.append(n) break else: