##// END OF EJS Templates
largefiles: show hashes before prompting for conflict resolution...
Mads Kiilerich -
r20297:8f412d03 default
parent child Browse files
Show More
@@ -426,10 +426,13 b' def overridefilemerge(origfn, repo, myno'
426 if not fcother.cmp(fcdest): # files identical?
426 if not fcother.cmp(fcdest): # files identical?
427 return None
427 return None
428
428
429 if repo.ui.promptchoice(_('largefile %s has a merge conflict\n'
429 if repo.ui.promptchoice(
430 'keep (l)ocal or take (o)ther?'
430 _('largefile %s has a merge conflict\nancestor was %s\n'
431 'keep (l)ocal %s or\ntake (o)ther %s?'
431 '$$ &Local $$ &Other') %
432 '$$ &Local $$ &Other') %
432 lfutil.splitstandin(orig), 0) == 0:
433 (lfutil.splitstandin(orig),
434 fca.data().strip(), fcd.data().strip(), fco.data().strip()),
435 0) == 0:
433 return 0
436 return 0
434 else:
437 else:
435 repo.wwrite(fcdest.path(), fcother.data(), fcother.flags())
438 repo.wwrite(fcdest.path(), fcother.data(), fcother.flags())
@@ -1375,7 +1375,9 b' correctly.'
1375 2 largefiles cached
1375 2 largefiles cached
1376 $ hg merge
1376 $ hg merge
1377 largefile sub/large4 has a merge conflict
1377 largefile sub/large4 has a merge conflict
1378 keep (l)ocal or take (o)ther? l
1378 ancestor was 971fb41e78fea4f8e0ba5244784239371cb00591
1379 keep (l)ocal d846f26643bfa8ec210be40cc93cc6b7ff1128ea or
1380 take (o)ther e166e74c7303192238d60af5a9c4ce9bef0b7928? l
1379 3 files updated, 1 files merged, 0 files removed, 0 files unresolved
1381 3 files updated, 1 files merged, 0 files removed, 0 files unresolved
1380 (branch merge, don't forget to commit)
1382 (branch merge, don't forget to commit)
1381 getting changed largefiles
1383 getting changed largefiles
General Comments 0
You need to be logged in to leave comments. Login now