##// END OF EJS Templates
icasefs: use case preserved root for 'util.fspath()' invocation (issue3302)...
FUJIWARA Katsunori -
r16258:594fc932 stable
parent child Browse files
Show More
@@ -78,10 +78,6 b' class dirstate(object):'
78 return self._copymap
78 return self._copymap
79
79
80 @propertycache
80 @propertycache
81 def _normroot(self):
82 return util.normcase(self._root)
83
84 @propertycache
85 def _foldmap(self):
81 def _foldmap(self):
86 f = {}
82 f = {}
87 for name in self._map:
83 for name in self._map:
@@ -406,7 +402,7 b' class dirstate(object):'
406 folded = path
402 folded = path
407 else:
403 else:
408 folded = self._foldmap.setdefault(normed,
404 folded = self._foldmap.setdefault(normed,
409 util.fspath(normed, self._normroot))
405 util.fspath(normed, self._root))
410 return folded
406 return folded
411
407
412 def normalize(self, path, isknown=False):
408 def normalize(self, path, isknown=False):
General Comments 0
You need to be logged in to leave comments. Login now