##// 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 173 if m and m != a: # changed from a to m
174 174 return m
175 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 180 return n
177 181 return '' # flag was cleared
178 182
@@ -359,7 +363,6 b' def applyupdates(repo, action, wctx, mct'
359 363 updated += 1
360 364 else:
361 365 merged += 1
362 util.setflags(repo.wjoin(fd), 'l' in flags, 'x' in flags)
363 366 if (move and repo.dirstate.normalize(fd) != f
364 367 and os.path.lexists(repo.wjoin(f))):
365 368 repo.ui.debug("removing %s\n" % f)
General Comments 0
You need to be logged in to leave comments. Login now