##// END OF EJS Templates
merge: use None as filename for base in 'both created' conflicts...
Martin von Zweigbergk -
r23398:9da5a741 default
parent child Browse files
Show More
@@ -421,9 +421,7 b' def manifestmerge(repo, wctx, p2, pa, br'
421 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))
422 "both renamed from " + fa))
423 else:
423 else:
424 # Note: f as ancestor is wrong - we can't really make a
424 actions['m'].append((f, (f, f, None, False, pa.node()),
425 # 3-way merge without an ancestor file.
426 actions['m'].append((f, (f, f, f, False, pa.node()),
427 "both created"))
425 "both created"))
428 else:
426 else:
429 a = ma[f]
427 a = ma[f]
@@ -493,8 +491,7 b' def manifestmerge(repo, wctx, p2, pa, br'
493 else:
491 else:
494 different = _checkunknownfile(repo, wctx, p2, f)
492 different = _checkunknownfile(repo, wctx, p2, f)
495 if force and branchmerge and different:
493 if force and branchmerge and different:
496 # FIXME: This is wrong - f is not in ma ...
494 actions['m'].append((f, (f, f, None, False, pa.node()),
497 actions['m'].append((f, (f, f, f, False, pa.node()),
498 "remote differs from untracked local"))
495 "remote differs from untracked local"))
499 elif not force and different:
496 elif not force and different:
500 aborts.append((f, 'ud'))
497 aborts.append((f, 'ud'))
General Comments 0
You need to be logged in to leave comments. Login now