##// END OF EJS Templates
subrepo: remove superfluous newline from subrepo prompt
Mads Kiilerich -
r22590:d4c972b9 default
parent child Browse files
Show More
@@ -263,13 +263,13 b' def submerge(repo, wctx, mctx, actx, ove'
263 263 def _updateprompt(ui, sub, dirty, local, remote):
264 264 if dirty:
265 265 msg = (_(' subrepository sources for %s differ\n'
266 'use (l)ocal source (%s) or (r)emote source (%s)?\n'
266 'use (l)ocal source (%s) or (r)emote source (%s)?'
267 267 '$$ &Local $$ &Remote')
268 268 % (subrelpath(sub), local, remote))
269 269 else:
270 270 msg = (_(' subrepository sources for %s differ (in checked out '
271 271 'version)\n'
272 'use (l)ocal source (%s) or (r)emote source (%s)?\n'
272 'use (l)ocal source (%s) or (r)emote source (%s)?'
273 273 '$$ &Local $$ &Remote')
274 274 % (subrelpath(sub), local, remote))
275 275 return ui.promptchoice(msg, 0)
@@ -436,8 +436,7 b' Test that the internal linear merging wo'
436 436 subrepository sub diverged (local revision: f74e50bd9e55, remote revision: d65e59e952a9)
437 437 (M)erge, keep (l)ocal or keep (r)emote? m
438 438 subrepository sources for sub differ (in checked out version)
439 use (l)ocal source (f74e50bd9e55) or (r)emote source (d65e59e952a9)?
440 r
439 use (l)ocal source (f74e50bd9e55) or (r)emote source (d65e59e952a9)? r
441 440 local changed .hglf/large2 which remote deleted
442 441 use (c)hanged version or (d)elete? c
443 442 remote turned local largefile large2 into a normal file
@@ -467,8 +467,7 b' Sticky subrepositories, file changes'
467 467 subrepository s diverged (local revision: da5f5b1, remote revision: aa84837)
468 468 (M)erge, keep (l)ocal or keep (r)emote? m
469 469 subrepository sources for s differ
470 use (l)ocal source (da5f5b1) or (r)emote source (aa84837)?
471 l
470 use (l)ocal source (da5f5b1) or (r)emote source (aa84837)? l
472 471 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
473 472 $ hg id -n
474 473 4+
@@ -494,8 +493,7 b' Sticky subrepository, revision updates'
494 493 subrepository s diverged (local revision: 32a3438, remote revision: da5f5b1)
495 494 (M)erge, keep (l)ocal or keep (r)emote? m
496 495 subrepository sources for s differ (in checked out version)
497 use (l)ocal source (32a3438) or (r)emote source (da5f5b1)?
498 l
496 use (l)ocal source (32a3438) or (r)emote source (da5f5b1)? l
499 497 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
500 498 $ hg id -n
501 499 1+
@@ -517,8 +515,7 b' Sticky subrepository, file changes and r'
517 515 subrepository s diverged (local revision: 32a3438, remote revision: 32a3438)
518 516 (M)erge, keep (l)ocal or keep (r)emote? m
519 517 subrepository sources for s differ
520 use (l)ocal source (32a3438) or (r)emote source (32a3438)?
521 l
518 use (l)ocal source (32a3438) or (r)emote source (32a3438)? l
522 519 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
523 520 $ hg id -n
524 521 7+
@@ -322,8 +322,7 b' Sticky subrepositories, file changes'
322 322 subrepository s diverged (local revision: 2, remote revision: 3)
323 323 (M)erge, keep (l)ocal or keep (r)emote? m
324 324 subrepository sources for s differ
325 use (l)ocal source (2) or (r)emote source (3)?
326 l
325 use (l)ocal source (2) or (r)emote source (3)? l
327 326 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
328 327 $ hg id -n
329 328 2+
@@ -354,8 +353,7 b' Sticky subrepository, revision updates'
354 353 subrepository s diverged (local revision: 3, remote revision: 2)
355 354 (M)erge, keep (l)ocal or keep (r)emote? m
356 355 subrepository sources for s differ (in checked out version)
357 use (l)ocal source (1) or (r)emote source (2)?
358 l
356 use (l)ocal source (1) or (r)emote source (2)? l
359 357 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
360 358 $ hg id -n
361 359 1+
@@ -378,8 +376,7 b' Sticky subrepository, file changes and r'
378 376 subrepository s diverged (local revision: 3, remote revision: 3)
379 377 (M)erge, keep (l)ocal or keep (r)emote? m
380 378 subrepository sources for s differ
381 use (l)ocal source (1) or (r)emote source (3)?
382 l
379 use (l)ocal source (1) or (r)emote source (3)? l
383 380 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
384 381 $ hg id -n
385 382 2+
@@ -976,13 +976,11 b' Sticky subrepositories, file changes'
976 976 subrepository s diverged (local revision: fc627a69481f, remote revision: 12a213df6fa9)
977 977 (M)erge, keep (l)ocal or keep (r)emote? m
978 978 subrepository sources for s differ
979 use (l)ocal source (fc627a69481f) or (r)emote source (12a213df6fa9)?
980 l
979 use (l)ocal source (fc627a69481f) or (r)emote source (12a213df6fa9)? l
981 980 subrepository t diverged (local revision: e95bcfa18a35, remote revision: 52c0adc0515a)
982 981 (M)erge, keep (l)ocal or keep (r)emote? m
983 982 subrepository sources for t differ
984 use (l)ocal source (e95bcfa18a35) or (r)emote source (52c0adc0515a)?
985 l
983 use (l)ocal source (e95bcfa18a35) or (r)emote source (52c0adc0515a)? l
986 984 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
987 985 $ hg id
988 986 925c17564ef8+ tip
@@ -1013,8 +1011,7 b' Sticky subrepository, revision updates'
1013 1011 subrepository t diverged (local revision: 52c0adc0515a, remote revision: 20a0db6fbf6c)
1014 1012 (M)erge, keep (l)ocal or keep (r)emote? m
1015 1013 subrepository sources for t differ (in checked out version)
1016 use (l)ocal source (7af322bc1198) or (r)emote source (20a0db6fbf6c)?
1017 l
1014 use (l)ocal source (7af322bc1198) or (r)emote source (20a0db6fbf6c)? l
1018 1015 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
1019 1016 $ hg id
1020 1017 e45c8b14af55+
@@ -1038,13 +1035,11 b' Sticky subrepository, file changes and r'
1038 1035 subrepository s diverged (local revision: 12a213df6fa9, remote revision: 12a213df6fa9)
1039 1036 (M)erge, keep (l)ocal or keep (r)emote? m
1040 1037 subrepository sources for s differ
1041 use (l)ocal source (02dcf1d70411) or (r)emote source (12a213df6fa9)?
1042 l
1038 use (l)ocal source (02dcf1d70411) or (r)emote source (12a213df6fa9)? l
1043 1039 subrepository t diverged (local revision: 52c0adc0515a, remote revision: 52c0adc0515a)
1044 1040 (M)erge, keep (l)ocal or keep (r)emote? m
1045 1041 subrepository sources for t differ
1046 use (l)ocal source (7af322bc1198) or (r)emote source (52c0adc0515a)?
1047 l
1042 use (l)ocal source (7af322bc1198) or (r)emote source (52c0adc0515a)? l
1048 1043 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
1049 1044 $ hg id
1050 1045 925c17564ef8+ tip
General Comments 0
You need to be logged in to leave comments. Login now