Mercurial > hg
comparison hgext/largefiles/overrides.py @ 26606:2a405d307f8c
filemerge: also return whether the merge is complete
In future patches, we'll pause merges after the premerge step. After the
premerge step we'll return complete = False.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Sun, 11 Oct 2015 12:56:21 -0700 |
parents | 56b2bcea2529 |
children | 45a6233d5f50 |
comparison
equal
deleted
inserted
replaced
26605:ef21a2c41629 | 26606:2a405d307f8c |
---|---|
551 'keep (l)ocal %s or\ntake (o)ther %s?' | 551 'keep (l)ocal %s or\ntake (o)ther %s?' |
552 '$$ &Local $$ &Other') % | 552 '$$ &Local $$ &Other') % |
553 (lfutil.splitstandin(orig), ahash, dhash, ohash), | 553 (lfutil.splitstandin(orig), ahash, dhash, ohash), |
554 0) == 1)): | 554 0) == 1)): |
555 repo.wwrite(fcd.path(), fco.data(), fco.flags()) | 555 repo.wwrite(fcd.path(), fco.data(), fco.flags()) |
556 return 0 | 556 return True, 0 |
557 | 557 |
558 def copiespathcopies(orig, ctx1, ctx2, match=None): | 558 def copiespathcopies(orig, ctx1, ctx2, match=None): |
559 copies = orig(ctx1, ctx2, match=match) | 559 copies = orig(ctx1, ctx2, match=match) |
560 updated = {} | 560 updated = {} |
561 | 561 |