Show More
@@ -437,9 +437,9 b' def overridecalculateupdates(origfn, rep' | |||||
437 | # the second parent |
|
437 | # the second parent | |
438 | lfile = splitstandin |
|
438 | lfile = splitstandin | |
439 | standin = f |
|
439 | standin = f | |
440 | msg = _('remote turned local normal file %s into a largefile\n' |
|
440 | usermsg = _('remote turned local normal file %s into a largefile\n' | |
441 | 'use (l)argefile or keep (n)ormal file?' |
|
441 | 'use (l)argefile or keep (n)ormal file?' | |
442 | '$$ &Largefile $$ &Normal file') % lfile |
|
442 | '$$ &Largefile $$ &Normal file') % lfile | |
443 | if (# local has unchanged normal file, pick remote largefile |
|
443 | if (# local has unchanged normal file, pick remote largefile | |
444 | pas and lfile in pas[0] and |
|
444 | pas and lfile in pas[0] and | |
445 | not pas[0][lfile].cmp(p1[lfile]) or |
|
445 | not pas[0][lfile].cmp(p1[lfile]) or | |
@@ -447,7 +447,7 b' def overridecalculateupdates(origfn, rep' | |||||
447 | not (pas and standin in pas[0] and |
|
447 | not (pas and standin in pas[0] and | |
448 | not pas[0][standin].cmp(p2[standin])) and |
|
448 | not pas[0][standin].cmp(p2[standin])) and | |
449 | # else, prompt |
|
449 | # else, prompt | |
450 | repo.ui.promptchoice(msg, 0) == 0 |
|
450 | repo.ui.promptchoice(usermsg, 0) == 0 | |
451 | ): # pick remote largefile |
|
451 | ): # pick remote largefile | |
452 | actions['r'].append((lfile, None, msg)) |
|
452 | actions['r'].append((lfile, None, msg)) | |
453 | newglist.append((standin, (p2.flags(standin),), msg)) |
|
453 | newglist.append((standin, (p2.flags(standin),), msg)) | |
@@ -458,7 +458,7 b' def overridecalculateupdates(origfn, rep' | |||||
458 | # the second parent |
|
458 | # the second parent | |
459 | standin = lfutil.standin(f) |
|
459 | standin = lfutil.standin(f) | |
460 | lfile = f |
|
460 | lfile = f | |
461 | msg = _('remote turned local largefile %s into a normal file\n' |
|
461 | usermsg = _('remote turned local largefile %s into a normal file\n' | |
462 | 'keep (l)argefile or use (n)ormal file?' |
|
462 | 'keep (l)argefile or use (n)ormal file?' | |
463 | '$$ &Largefile $$ &Normal file') % lfile |
|
463 | '$$ &Largefile $$ &Normal file') % lfile | |
464 | if (# if remote has unchanged normal file, pick local largefile |
|
464 | if (# if remote has unchanged normal file, pick local largefile | |
@@ -468,7 +468,7 b' def overridecalculateupdates(origfn, rep' | |||||
468 | not (pas and standin in pas[0] and |
|
468 | not (pas and standin in pas[0] and | |
469 | not pas[0][standin].cmp(p1[standin])) and |
|
469 | not pas[0][standin].cmp(p1[standin])) and | |
470 | # else, prompt |
|
470 | # else, prompt | |
471 | repo.ui.promptchoice(msg, 0) == 0 |
|
471 | repo.ui.promptchoice(usermsg, 0) == 0 | |
472 | ): # keep local largefile |
|
472 | ): # keep local largefile | |
473 | if branchmerge: |
|
473 | if branchmerge: | |
474 | # largefile can be restored from standin safely |
|
474 | # largefile can be restored from standin safely |
General Comments 0
You need to be logged in to leave comments.
Login now