##// END OF EJS Templates
merge: defer symlink flag merging to filemerge (issue3200)...
Matt Mackall -
r16001:fcf66193 stable
parent child Browse files
Show More
@@ -173,6 +173,10 b' def manifestmerge(repo, p1, p2, pa, over'
173 if m and m != a: # changed from a to m
173 if m and m != a: # changed from a to m
174 return m
174 return m
175 if n and n != a: # changed from a to n
175 if n and n != a: # changed from a to n
176 if n == 'l' or a == 'l':
177 # can't automatically merge symlink flag change here, let
178 # filemerge take care of it
179 return m
176 return n
180 return n
177 return '' # flag was cleared
181 return '' # flag was cleared
178
182
@@ -359,7 +363,6 b' def applyupdates(repo, action, wctx, mct'
359 updated += 1
363 updated += 1
360 else:
364 else:
361 merged += 1
365 merged += 1
362 util.setflags(repo.wjoin(fd), 'l' in flags, 'x' in flags)
363 if (move and repo.dirstate.normalize(fd) != f
366 if (move and repo.dirstate.normalize(fd) != f
364 and os.path.lexists(repo.wjoin(f))):
367 and os.path.lexists(repo.wjoin(f))):
365 repo.ui.debug("removing %s\n" % f)
368 repo.ui.debug("removing %s\n" % f)
General Comments 0
You need to be logged in to leave comments. Login now