##// END OF EJS Templates
merge: duplicate 'if f in copied' into each branch
Martin von Zweigbergk -
r23474:9f4ac44a default
parent child Browse files
Show More
@@ -441,10 +441,10 def manifestmerge(repo, wctx, p2, pa, br
441 441 else: # both changed something
442 442 actions['m'].append((f, (f, f, f, False, pa.node()),
443 443 "versions differ"))
444 elif f in copied: # files we'll deal with on m2 side
445 pass
446 444 elif n1: # file exists only on local side
447 if f in movewithdir: # directory rename, move local
445 if f in copied:
446 pass # we'll deal with it on m2 side
447 elif f in movewithdir: # directory rename, move local
448 448 f2 = movewithdir[f]
449 449 actions['dm'].append((f2, (f, fl1),
450 450 "remote directory rename - move from " + f))
@@ -467,7 +467,9 def manifestmerge(repo, wctx, p2, pa, br
467 467 else:
468 468 actions['r'].append((f, None, "other deleted"))
469 469 elif n2: # file exists only on remote side
470 if f in movewithdir:
470 if f in copied:
471 pass # we'll deal with it on m1 side
472 elif f in movewithdir:
471 473 f2 = movewithdir[f]
472 474 actions['dg'].append((f2, (f, fl2),
473 475 "local directory rename - get from " + f))
General Comments 0
You need to be logged in to leave comments. Login now