Show More
@@ -59,7 +59,7 class dirstate(object): | |||||
59 | def _foldmap(self): |
|
59 | def _foldmap(self): | |
60 | f = {} |
|
60 | f = {} | |
61 | for name in self._map: |
|
61 | for name in self._map: | |
62 |
f[ |
|
62 | f[os.path.normcase(name)] = name | |
63 | return f |
|
63 | return f | |
64 |
|
64 | |||
65 | @propertycache |
|
65 | @propertycache | |
@@ -340,7 +340,7 class dirstate(object): | |||||
340 | self._ui.warn(_("not in dirstate: %s\n") % f) |
|
340 | self._ui.warn(_("not in dirstate: %s\n") % f) | |
341 |
|
341 | |||
342 | def _normalize(self, path, knownpath): |
|
342 | def _normalize(self, path, knownpath): | |
343 |
norm_path = |
|
343 | norm_path = os.path.normcase(path) | |
344 | fold_path = self._foldmap.get(norm_path, None) |
|
344 | fold_path = self._foldmap.get(norm_path, None) | |
345 | if fold_path is None: |
|
345 | if fold_path is None: | |
346 | if knownpath or not os.path.exists(os.path.join(self._root, path)): |
|
346 | if knownpath or not os.path.exists(os.path.join(self._root, path)): |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed, binary diff hidden |
|
NO CONTENT: file was removed, binary diff hidden |
General Comments 0
You need to be logged in to leave comments.
Login now