Show More
@@ -84,11 +84,12 b' class dirstate(object):' | |||
|
84 | 84 | @propertycache |
|
85 | 85 | def _foldmap(self): |
|
86 | 86 | f = {} |
|
87 | normcase = util.normcase | |
|
87 | 88 | for name, s in self._map.iteritems(): |
|
88 | 89 | if s[0] != 'r': |
|
89 |
f[ |
|
|
90 | f[normcase(name)] = name | |
|
90 | 91 | for name in self._dirs: |
|
91 |
f[ |
|
|
92 | f[normcase(name)] = name | |
|
92 | 93 | f['.'] = '.' # prevents useless util.fspath() invocation |
|
93 | 94 | return f |
|
94 | 95 |
General Comments 0
You need to be logged in to leave comments.
Login now