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