comparison hgext/largefiles/overrides.py @ 42587:421fdf30c37c

largefiles: make last line of prompts <40 english chars (issue6158) Differential Revision: https://phab.mercurial-scm.org/D6571
author Kyle Lippincott <spectral@google.com>
date Mon, 24 Jun 2019 16:00:39 -0700
parents 87a34c767384
children 749ef8c31187
comparison
equal deleted inserted replaced
42586:cad3dde7a573 42587:421fdf30c37c
543 if (ohash != ahash and 543 if (ohash != ahash and
544 ohash != dhash and 544 ohash != dhash and
545 (dhash == ahash or 545 (dhash == ahash or
546 repo.ui.promptchoice( 546 repo.ui.promptchoice(
547 _('largefile %s has a merge conflict\nancestor was %s\n' 547 _('largefile %s has a merge conflict\nancestor was %s\n'
548 'keep (l)ocal %s or\ntake (o)ther %s?' 548 'you can keep (l)ocal %s or take (o)ther %s.\n'
549 'what do you want to do?'
549 '$$ &Local $$ &Other') % 550 '$$ &Local $$ &Other') %
550 (lfutil.splitstandin(orig), ahash, dhash, ohash), 551 (lfutil.splitstandin(orig), ahash, dhash, ohash),
551 0) == 1)): 552 0) == 1)):
552 repo.wwrite(fcd.path(), fco.data(), fco.flags()) 553 repo.wwrite(fcd.path(), fco.data(), fco.flags())
553 return True, 0, False 554 return True, 0, False