##// END OF EJS Templates
merge with stable
Matt Mackall -
r16261:7b9bf724 merge default
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):
@@ -170,7 +170,7 b' def manifestmerge(repo, p1, p2, pa, over'
170 if m and m != a: # changed from a to m
170 if m and m != a: # changed from a to m
171 return m
171 return m
172 if n and n != a: # changed from a to n
172 if n and n != a: # changed from a to n
173 if (n == 'l' or a == 'l') and m1[f] != ma[f]:
173 if (n == 'l' or a == 'l') and m1.get(f) != ma.get(f):
174 # can't automatically merge symlink flag when there
174 # can't automatically merge symlink flag when there
175 # are file-level conflicts here, let filemerge take
175 # are file-level conflicts here, let filemerge take
176 # care of it
176 # care of it
General Comments 0
You need to be logged in to leave comments. Login now