##// END OF EJS Templates
merge: break out "both renamed a -> b" case...
Martin von Zweigbergk -
r23397:c7c95838 default
parent child Browse files
Show More
@@ -416,10 +416,14 def manifestmerge(repo, wctx, p2, pa, br
416 416 continue
417 417 if n1 and n2:
418 418 if f not in ma:
419 # Note: f as ancestor is wrong - we can't really make a 3-way
420 # merge without an ancestor file.
421 fa = copy.get(f, f)
419 fa = copy.get(f, None)
420 if fa is not None:
422 421 actions['m'].append((f, (f, f, fa, False, pa.node()),
422 "both renamed from " + fa))
423 else:
424 # Note: f as ancestor is wrong - we can't really make a
425 # 3-way merge without an ancestor file.
426 actions['m'].append((f, (f, f, f, False, pa.node()),
423 427 "both created"))
424 428 else:
425 429 a = ma[f]
@@ -343,7 +343,7 args:
343 343 ancestor: 924404dff337, local: 62e7bf090eba+, remote: 49b6d8032493
344 344 preserving b for resolve of b
345 345 preserving rev for resolve of rev
346 b: both created -> m
346 b: both renamed from a -> m
347 347 updating: b 1/2 files (50.00%)
348 348 picked tool 'python ../merge' for b (binary False symlink False)
349 349 merging b
General Comments 0
You need to be logged in to leave comments. Login now