##// END OF EJS Templates
error: unify the error message formats for 'rebase' and 'unshelve'...
Daniel Ploch -
r45710:dc5e5577 default
parent child Browse files
Show More
@@ -632,8 +632,8 b' class rebaseruntime(object):'
632 else:
632 else:
633 raise error.InterventionRequired(
633 raise error.InterventionRequired(
634 _(
634 _(
635 b'unresolved conflicts (see hg '
635 b"unresolved conflicts (see 'hg "
636 b'resolve, then hg rebase --continue)'
636 b"resolve', then 'hg rebase --continue')"
637 )
637 )
638 )
638 )
639 if not self.collapsef:
639 if not self.collapsef:
@@ -20,7 +20,7 b' Abort absorb if there is an unfinished o'
20 rebasing 1:c3b6dc0e177a "foo 2" (tip)
20 rebasing 1:c3b6dc0e177a "foo 2" (tip)
21 merging foo.whole
21 merging foo.whole
22 warning: conflicts while merging foo.whole! (edit, then use 'hg resolve --mark')
22 warning: conflicts while merging foo.whole! (edit, then use 'hg resolve --mark')
23 unresolved conflicts (see hg resolve, then hg rebase --continue)
23 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
24 [1]
24 [1]
25
25
26 $ hg --config extensions.rebase= absorb
26 $ hg --config extensions.rebase= absorb
@@ -80,7 +80,7 b' aborted rebase should restore active boo'
80 rebasing 4:dd7c838e8362 "4" (three tip)
80 rebasing 4:dd7c838e8362 "4" (three tip)
81 merging d
81 merging d
82 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
82 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
83 unresolved conflicts (see hg resolve, then hg rebase --continue)
83 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
84 [1]
84 [1]
85 $ hg rebase --abort
85 $ hg rebase --abort
86 rebase aborted
86 rebase aborted
@@ -95,7 +95,7 b' after aborted rebase, restoring a bookma'
95 rebasing 4:dd7c838e8362 "4" (three tip)
95 rebasing 4:dd7c838e8362 "4" (three tip)
96 merging d
96 merging d
97 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
97 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
98 unresolved conflicts (see hg resolve, then hg rebase --continue)
98 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
99 [1]
99 [1]
100 $ hg bookmark -d three
100 $ hg bookmark -d three
101 $ hg rebase --abort
101 $ hg rebase --abort
@@ -91,7 +91,7 b' Make sure filename heuristics do not whe'
91 file 'a' was deleted in local [dest] but was modified in other [source].
91 file 'a' was deleted in local [dest] but was modified in other [source].
92 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
92 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
93 What do you want to do? u
93 What do you want to do? u
94 unresolved conflicts (see hg resolve, then hg rebase --continue)
94 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
95 [1]
95 [1]
96
96
97 $ cd ..
97 $ cd ..
@@ -248,7 +248,7 b' With small limit'
248 file 'a' was deleted in local [dest] but was modified in other [source].
248 file 'a' was deleted in local [dest] but was modified in other [source].
249 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
249 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
250 What do you want to do? u
250 What do you want to do? u
251 unresolved conflicts (see hg resolve, then hg rebase --continue)
251 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
252 [1]
252 [1]
253
253
254 $ hg rebase --abort
254 $ hg rebase --abort
@@ -710,7 +710,7 b' When the sourcecommitlimit is small and '
710 file 'a' was deleted in local [dest] but was modified in other [source].
710 file 'a' was deleted in local [dest] but was modified in other [source].
711 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
711 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
712 What do you want to do? u
712 What do you want to do? u
713 unresolved conflicts (see hg resolve, then hg rebase --continue)
713 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
714 [1]
714 [1]
715
715
716 But when we have "sourcecommitlimit > (no. of drafts from base to c1)", we do
716 But when we have "sourcecommitlimit > (no. of drafts from base to c1)", we do
@@ -868,7 +868,7 b' fixing the working directory if there ar'
868 rebasing 1:c3b6dc0e177a "foo 2" (tip)
868 rebasing 1:c3b6dc0e177a "foo 2" (tip)
869 merging foo.whole
869 merging foo.whole
870 warning: conflicts while merging foo.whole! (edit, then use 'hg resolve --mark')
870 warning: conflicts while merging foo.whole! (edit, then use 'hg resolve --mark')
871 unresolved conflicts (see hg resolve, then hg rebase --continue)
871 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
872 [1]
872 [1]
873
873
874 $ hg --config extensions.rebase= fix --working-dir
874 $ hg --config extensions.rebase= fix --working-dir
@@ -593,7 +593,7 b' it is aborted by conflict.'
593 what do you want to do? o
593 what do you want to do? o
594 merging normal1
594 merging normal1
595 warning: conflicts while merging normal1! (edit, then use 'hg resolve --mark')
595 warning: conflicts while merging normal1! (edit, then use 'hg resolve --mark')
596 unresolved conflicts (see hg resolve, then hg rebase --continue)
596 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
597 [1]
597 [1]
598 $ cat .hglf/large1
598 $ cat .hglf/large1
599 58e24f733a964da346e2407a2bee99d9001184f5
599 58e24f733a964da346e2407a2bee99d9001184f5
@@ -27,7 +27,7 b' Testing on-failure=continue'
27 merging b
27 merging b
28 merging a failed!
28 merging a failed!
29 merging b failed!
29 merging b failed!
30 unresolved conflicts (see hg resolve, then hg rebase --continue)
30 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
31 [1]
31 [1]
32
32
33 $ hg resolve --list
33 $ hg resolve --list
@@ -72,7 +72,7 b' Can rebase onto conflicting changes insi'
72 $ hg rebase -d 'desc("modify inside/f1")' 2>&1 | egrep -v '(warning:|incomplete!)'
72 $ hg rebase -d 'desc("modify inside/f1")' 2>&1 | egrep -v '(warning:|incomplete!)'
73 rebasing 6:cdce97fbf653 "conflicting inside/f1" (tip)
73 rebasing 6:cdce97fbf653 "conflicting inside/f1" (tip)
74 merging inside/f1
74 merging inside/f1
75 unresolved conflicts (see hg resolve, then hg rebase --continue)
75 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
76 $ echo modified3 > inside/f1
76 $ echo modified3 > inside/f1
77 $ hg resolve -m 2>&1 | grep -v continue:
77 $ hg resolve -m 2>&1 | grep -v continue:
78 (no more unresolved files)
78 (no more unresolved files)
@@ -81,7 +81,7 b' Conflicting rebase:'
81 rebasing 4:46f0b057b5c0 "L2" (tip)
81 rebasing 4:46f0b057b5c0 "L2" (tip)
82 merging common
82 merging common
83 warning: conflicts while merging common! (edit, then use 'hg resolve --mark')
83 warning: conflicts while merging common! (edit, then use 'hg resolve --mark')
84 unresolved conflicts (see hg resolve, then hg rebase --continue)
84 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
85 [1]
85 [1]
86
86
87 Insert unsupported advisory merge record:
87 Insert unsupported advisory merge record:
@@ -148,7 +148,7 b' earlier than 2.7 by renaming ".hg/rebase'
148 rebasing 4:46f0b057b5c0 "L2" (tip)
148 rebasing 4:46f0b057b5c0 "L2" (tip)
149 merging common
149 merging common
150 warning: conflicts while merging common! (edit, then use 'hg resolve --mark')
150 warning: conflicts while merging common! (edit, then use 'hg resolve --mark')
151 unresolved conflicts (see hg resolve, then hg rebase --continue)
151 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
152 [1]
152 [1]
153
153
154 $ mv .hg/rebasestate .hg/rebasestate.back
154 $ mv .hg/rebasestate .hg/rebasestate.back
@@ -218,7 +218,7 b' Rebase and abort without generating new '
218 rebasing 4:145842775fec "C1" (tip)
218 rebasing 4:145842775fec "C1" (tip)
219 merging c
219 merging c
220 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
220 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
221 unresolved conflicts (see hg resolve, then hg rebase --continue)
221 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
222 [1]
222 [1]
223
223
224 $ hg tglog
224 $ hg tglog
@@ -277,7 +277,7 b' rebase abort should not leave working co'
277 rebasing 3:6c0f977a22d8 "C" (foo tip)
277 rebasing 3:6c0f977a22d8 "C" (foo tip)
278 merging c
278 merging c
279 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
279 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
280 unresolved conflicts (see hg resolve, then hg rebase --continue)
280 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
281 [1]
281 [1]
282 $ hg abort
282 $ hg abort
283 rebase aborted
283 rebase aborted
@@ -315,7 +315,7 b' user has somehow managed to update to a '
315
315
316 $ hg rebase -d @ -b foo --tool=internal:fail
316 $ hg rebase -d @ -b foo --tool=internal:fail
317 rebasing 2:070cf4580bb5 "b2" (foo tip)
317 rebasing 2:070cf4580bb5 "b2" (foo tip)
318 unresolved conflicts (see hg resolve, then hg rebase --continue)
318 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
319 [1]
319 [1]
320
320
321 $ mv .hg/rebasestate ./ # so we're allowed to hg up like in mercurial <2.6.3
321 $ mv .hg/rebasestate ./ # so we're allowed to hg up like in mercurial <2.6.3
@@ -462,7 +462,7 b' during a rebase (issue4661)'
462
462
463 $ hg rebase -d 1 --tool 'internal:fail'
463 $ hg rebase -d 1 --tool 'internal:fail'
464 rebasing 2:e4ea5cdc9789 "conflicting 1"
464 rebasing 2:e4ea5cdc9789 "conflicting 1"
465 unresolved conflicts (see hg resolve, then hg rebase --continue)
465 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
466 [1]
466 [1]
467 $ hg abort
467 $ hg abort
468 rebase aborted
468 rebase aborted
@@ -503,7 +503,7 b' commit will cause merge conflict on reba'
503 $ hg rebase -d 'public()' --tool :merge -q
503 $ hg rebase -d 'public()' --tool :merge -q
504 note: not rebasing 3:0682fd3dabf5 "disappear draft", its destination already has all its changes
504 note: not rebasing 3:0682fd3dabf5 "disappear draft", its destination already has all its changes
505 warning: conflicts while merging root! (edit, then use 'hg resolve --mark')
505 warning: conflicts while merging root! (edit, then use 'hg resolve --mark')
506 unresolved conflicts (see hg resolve, then hg rebase --continue)
506 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
507 [1]
507 [1]
508 $ hg abort
508 $ hg abort
509 rebase aborted
509 rebase aborted
@@ -126,7 +126,7 b' When backup-bundle = True:'
126 rebasing 6:f8bc7d28e573 "c"
126 rebasing 6:f8bc7d28e573 "c"
127 merging c
127 merging c
128 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
128 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
129 unresolved conflicts (see hg resolve, then hg rebase --continue)
129 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
130 [1]
130 [1]
131 $ hg rebase --abort
131 $ hg rebase --abort
132 saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/818c1a43c916-2b644d96-backup.hg
132 saved backup bundle to $TESTTMP/repo1/.hg/strip-backup/818c1a43c916-2b644d96-backup.hg
@@ -142,7 +142,7 b' When backup-bundle = False:'
142 rebasing 6:f8bc7d28e573 "c"
142 rebasing 6:f8bc7d28e573 "c"
143 merging c
143 merging c
144 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
144 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
145 unresolved conflicts (see hg resolve, then hg rebase --continue)
145 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
146 [1]
146 [1]
147 $ hg rebase --abort
147 $ hg rebase --abort
148 rebase aborted
148 rebase aborted
@@ -172,7 +172,7 b' rebase --continue with bookmarks present'
172 rebasing 3:3d5fa227f4b5 "C" (Y Z)
172 rebasing 3:3d5fa227f4b5 "C" (Y Z)
173 merging c
173 merging c
174 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
174 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
175 unresolved conflicts (see hg resolve, then hg rebase --continue)
175 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
176 [1]
176 [1]
177 $ echo 'c' > c
177 $ echo 'c' > c
178 $ hg resolve --mark c
178 $ hg resolve --mark c
@@ -69,7 +69,7 b' Rebasing B onto E - check keep: and phas'
69 rebasing 2:965c486023db "C"
69 rebasing 2:965c486023db "C"
70 merging A
70 merging A
71 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
71 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
72 unresolved conflicts (see hg resolve, then hg rebase --continue)
72 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
73 [1]
73 [1]
74
74
75 Solve the conflict and go on:
75 Solve the conflict and go on:
@@ -126,7 +126,7 b' Rebase F onto E - check keepbranches:'
126 rebasing 5:01e6ebbd8272 "F" (tip)
126 rebasing 5:01e6ebbd8272 "F" (tip)
127 merging A
127 merging A
128 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
128 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
129 unresolved conflicts (see hg resolve, then hg rebase --continue)
129 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
130 [1]
130 [1]
131
131
132 Solve the conflict and go on:
132 Solve the conflict and go on:
@@ -291,7 +291,7 b' Preserves external parent'
291 file 'E' was deleted in local [dest] but was modified in other [source].
291 file 'E' was deleted in local [dest] but was modified in other [source].
292 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
292 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
293 What do you want to do? u
293 What do you want to do? u
294 unresolved conflicts (see hg resolve, then hg rebase --continue)
294 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
295 [1]
295 [1]
296
296
297 $ echo F > E
297 $ echo F > E
@@ -658,7 +658,7 b' running into merge conflict and invoking'
658 rebasing 1:81e5401e4d37 "B" (B)
658 rebasing 1:81e5401e4d37 "B" (B)
659 merging A
659 merging A
660 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
660 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
661 unresolved conflicts (see hg resolve, then hg rebase --continue)
661 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
662 [1]
662 [1]
663 $ rm A.orig
663 $ rm A.orig
664 $ hg resolve --mark A
664 $ hg resolve --mark A
@@ -705,7 +705,7 b' Test aborted editor on final message'
705 rebasing 1:f899f3910ce7 "B" (B)
705 rebasing 1:f899f3910ce7 "B" (B)
706 merging A
706 merging A
707 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
707 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
708 unresolved conflicts (see hg resolve, then hg rebase --continue)
708 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
709 [1]
709 [1]
710 $ hg tglog
710 $ hg tglog
711 o 3: 63668d570d21 'C'
711 o 3: 63668d570d21 'C'
@@ -733,7 +733,7 b' Test aborted editor on final message'
733 rebasing 3:63668d570d21 "C" (C tip)
733 rebasing 3:63668d570d21 "C" (C tip)
734 merging A
734 merging A
735 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
735 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
736 unresolved conflicts (see hg resolve, then hg rebase --continue)
736 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
737 [1]
737 [1]
738 $ hg tglog
738 $ hg tglog
739 % 3: 63668d570d21 'C'
739 % 3: 63668d570d21 'C'
@@ -66,7 +66,7 b' Conflicting rebase:'
66 rebasing 4:46f0b057b5c0 "L2"
66 rebasing 4:46f0b057b5c0 "L2"
67 merging common
67 merging common
68 warning: conflicts while merging common! (edit, then use 'hg resolve --mark')
68 warning: conflicts while merging common! (edit, then use 'hg resolve --mark')
69 unresolved conflicts (see hg resolve, then hg rebase --continue)
69 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
70 [1]
70 [1]
71
71
72 $ hg status --config commands.status.verbose=1
72 $ hg status --config commands.status.verbose=1
@@ -344,7 +344,7 b' Test minimization of merge conflicts'
344 rebasing 13:7bc217434fc1 "abc" (tip)
344 rebasing 13:7bc217434fc1 "abc" (tip)
345 merging a
345 merging a
346 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
346 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
347 unresolved conflicts (see hg resolve, then hg rebase --continue)
347 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
348 [1]
348 [1]
349 $ hg diff
349 $ hg diff
350 diff -r 328e4ab1f7cc a
350 diff -r 328e4ab1f7cc a
@@ -364,7 +364,7 b' Test minimization of merge conflicts'
364 rebasing 13:7bc217434fc1 "abc" (tip)
364 rebasing 13:7bc217434fc1 "abc" (tip)
365 merging a
365 merging a
366 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
366 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
367 unresolved conflicts (see hg resolve, then hg rebase --continue)
367 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
368 [1]
368 [1]
369 $ hg diff
369 $ hg diff
370 diff -r 328e4ab1f7cc a
370 diff -r 328e4ab1f7cc a
@@ -402,7 +402,7 b' Test rebase with obsstore turned on and '
402 rebasing 1:112478962961 "B" (B)
402 rebasing 1:112478962961 "B" (B)
403 merging B
403 merging B
404 warning: conflicts while merging B! (edit, then use 'hg resolve --mark')
404 warning: conflicts while merging B! (edit, then use 'hg resolve --mark')
405 unresolved conflicts (see hg resolve, then hg rebase --continue)
405 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
406 [1]
406 [1]
407
407
408 $ echo 4 > B
408 $ echo 4 > B
@@ -454,7 +454,7 b' Test where the conflict happens when reb'
454 rebasing 5:9a6b91dc2044 "F" (F tip)
454 rebasing 5:9a6b91dc2044 "F" (F tip)
455 merging conflict
455 merging conflict
456 warning: conflicts while merging conflict! (edit, then use 'hg resolve --mark')
456 warning: conflicts while merging conflict! (edit, then use 'hg resolve --mark')
457 unresolved conflicts (see hg resolve, then hg rebase --continue)
457 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
458 [1]
458 [1]
459 $ hg tglog
459 $ hg tglog
460 @ 8:draft 'E'
460 @ 8:draft 'E'
@@ -48,7 +48,7 b' Requiring dest should not break continue'
48 rebasing 3:0537f6b50def "dc" (tip)
48 rebasing 3:0537f6b50def "dc" (tip)
49 merging c
49 merging c
50 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
50 warning: conflicts while merging c! (edit, then use 'hg resolve --mark')
51 unresolved conflicts (see hg resolve, then hg rebase --continue)
51 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
52 [1]
52 [1]
53 $ echo d > c
53 $ echo d > c
54 $ hg resolve --mark --all
54 $ hg resolve --mark --all
@@ -297,7 +297,7 b' Ensure --continue restores a correct sta'
297 rebasing 3:17b4880d2402 "B2" (tip)
297 rebasing 3:17b4880d2402 "B2" (tip)
298 merging B
298 merging B
299 warning: conflicts while merging B! (edit, then use 'hg resolve --mark')
299 warning: conflicts while merging B! (edit, then use 'hg resolve --mark')
300 unresolved conflicts (see hg resolve, then hg rebase --continue)
300 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
301 [1]
301 [1]
302 $ hg resolve --all -t internal:local
302 $ hg resolve --all -t internal:local
303 (no more unresolved files)
303 (no more unresolved files)
@@ -471,7 +471,7 b' In-memory rebase that fails due to merge'
471 rebasing 4:e860deea161a "e"
471 rebasing 4:e860deea161a "e"
472 merging e
472 merging e
473 warning: conflicts while merging e! (edit, then use 'hg resolve --mark')
473 warning: conflicts while merging e! (edit, then use 'hg resolve --mark')
474 unresolved conflicts (see hg resolve, then hg rebase --continue)
474 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
475 [1]
475 [1]
476 $ hg rebase --abort
476 $ hg rebase --abort
477 saved backup bundle to $TESTTMP/repo3/.hg/strip-backup/c1e524d4287c-f91f82e1-backup.hg
477 saved backup bundle to $TESTTMP/repo3/.hg/strip-backup/c1e524d4287c-f91f82e1-backup.hg
@@ -863,7 +863,7 b' Test rebasing when the file we are mergi'
863 rebasing 2:fb62b706688e "add b to foo" (tip)
863 rebasing 2:fb62b706688e "add b to foo" (tip)
864 merging foo
864 merging foo
865 warning: conflicts while merging foo! (edit, then use 'hg resolve --mark')
865 warning: conflicts while merging foo! (edit, then use 'hg resolve --mark')
866 unresolved conflicts (see hg resolve, then hg rebase --continue)
866 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
867 [1]
867 [1]
868
868
869 $ cd $TESTTMP
869 $ cd $TESTTMP
@@ -897,7 +897,7 b" Test rebasing when we're in the middle o"
897 rebasing 2:b4d249fbf8dd "bye from foo"
897 rebasing 2:b4d249fbf8dd "bye from foo"
898 merging foo
898 merging foo
899 warning: conflicts while merging foo! (edit, then use 'hg resolve --mark')
899 warning: conflicts while merging foo! (edit, then use 'hg resolve --mark')
900 unresolved conflicts (see hg resolve, then hg rebase --continue)
900 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
901 [1]
901 [1]
902 $ hg rebase -r 3 -d 1 -t:merge3
902 $ hg rebase -r 3 -d 1 -t:merge3
903 abort: rebase in progress
903 abort: rebase in progress
@@ -61,7 +61,7 b' Rebasing B onto E:'
61 rebasing 2:965c486023db "C"
61 rebasing 2:965c486023db "C"
62 merging A
62 merging A
63 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
63 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
64 unresolved conflicts (see hg resolve, then hg rebase --continue)
64 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
65 [1]
65 [1]
66
66
67 Force a commit on C during the interruption:
67 Force a commit on C during the interruption:
@@ -98,7 +98,7 b' Resume the rebasing:'
98 rebasing 2:965c486023db "C"
98 rebasing 2:965c486023db "C"
99 merging A
99 merging A
100 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
100 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
101 unresolved conflicts (see hg resolve, then hg rebase --continue)
101 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
102 [1]
102 [1]
103
103
104 Solve the conflict and go on:
104 Solve the conflict and go on:
@@ -157,7 +157,7 b' Rebasing B onto E:'
157 rebasing 2:965c486023db "C"
157 rebasing 2:965c486023db "C"
158 merging A
158 merging A
159 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
159 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
160 unresolved conflicts (see hg resolve, then hg rebase --continue)
160 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
161 [1]
161 [1]
162
162
163 Force a commit on B' during the interruption:
163 Force a commit on B' during the interruption:
@@ -229,7 +229,7 b' Rebasing B onto E:'
229 rebasing 2:965c486023db "C"
229 rebasing 2:965c486023db "C"
230 merging A
230 merging A
231 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
231 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
232 unresolved conflicts (see hg resolve, then hg rebase --continue)
232 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
233 [1]
233 [1]
234
234
235 Change phase on B and B'
235 Change phase on B and B'
@@ -302,7 +302,7 b' Continue rebase after upgrading from an '
302 rebasing 2:965c486023db "C"
302 rebasing 2:965c486023db "C"
303 merging A
303 merging A
304 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
304 warning: conflicts while merging A! (edit, then use 'hg resolve --mark')
305 unresolved conflicts (see hg resolve, then hg rebase --continue)
305 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
306 [1]
306 [1]
307 $ hg tglog
307 $ hg tglog
308 @ 5: 45396c49d53b 'B'
308 @ 5: 45396c49d53b 'B'
@@ -505,7 +505,7 b' Make sure merge state is cleaned up afte'
505 rebasing 1:fdaca8533b86 "b"
505 rebasing 1:fdaca8533b86 "b"
506 merging a
506 merging a
507 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
507 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
508 unresolved conflicts (see hg resolve, then hg rebase --continue)
508 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
509 [1]
509 [1]
510 $ echo a > a
510 $ echo a > a
511 $ echo c >> a
511 $ echo c >> a
@@ -525,7 +525,7 b' Now try again with --collapse'
525 rebasing 2:fdaca8533b86 "b" (tip)
525 rebasing 2:fdaca8533b86 "b" (tip)
526 merging a
526 merging a
527 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
527 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
528 unresolved conflicts (see hg resolve, then hg rebase --continue)
528 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
529 [1]
529 [1]
530 $ echo a > a
530 $ echo a > a
531 $ echo c >> a
531 $ echo c >> a
@@ -155,7 +155,7 b' already has one local mq patch'
155 rebasing 3:6ff5b8feed8e "r3" (r3)
155 rebasing 3:6ff5b8feed8e "r3" (r3)
156 note: not rebasing 3:6ff5b8feed8e "r3" (r3), its destination already has all its changes
156 note: not rebasing 3:6ff5b8feed8e "r3" (r3), its destination already has all its changes
157 rebasing 4:094320fec554 "r4" (r4)
157 rebasing 4:094320fec554 "r4" (r4)
158 unresolved conflicts (see hg resolve, then hg rebase --continue)
158 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
159 [1]
159 [1]
160
160
161 $ HGMERGE=internal:local hg resolve --all
161 $ HGMERGE=internal:local hg resolve --all
@@ -62,7 +62,7 b' Rebase - generate a conflict:'
62 rebasing 2:3504f44bffc0 "P0" (f.patch qbase)
62 rebasing 2:3504f44bffc0 "P0" (f.patch qbase)
63 merging f
63 merging f
64 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
64 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
65 unresolved conflicts (see hg resolve, then hg rebase --continue)
65 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
66 [1]
66 [1]
67
67
68 Fix the 1st conflict:
68 Fix the 1st conflict:
@@ -76,7 +76,7 b' Fix the 1st conflict:'
76 rebasing 3:929394423cd3 "P1" (f2.patch qtip tip)
76 rebasing 3:929394423cd3 "P1" (f2.patch qtip tip)
77 merging f
77 merging f
78 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
78 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
79 unresolved conflicts (see hg resolve, then hg rebase --continue)
79 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
80 [1]
80 [1]
81
81
82 Fix the 2nd conflict:
82 Fix the 2nd conflict:
@@ -1032,7 +1032,7 b' Create the changes that we will rebase'
1032 rebasing 19:b82fb57ea638 "willconflict second version"
1032 rebasing 19:b82fb57ea638 "willconflict second version"
1033 merging willconflict
1033 merging willconflict
1034 warning: conflicts while merging willconflict! (edit, then use 'hg resolve --mark')
1034 warning: conflicts while merging willconflict! (edit, then use 'hg resolve --mark')
1035 unresolved conflicts (see hg resolve, then hg rebase --continue)
1035 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
1036 [1]
1036 [1]
1037
1037
1038 $ hg resolve --mark willconflict
1038 $ hg resolve --mark willconflict
@@ -1787,7 +1787,7 b' rebasestate may contain hidden hashes. "'
1787 rebasing 1:2ec65233581b "B"
1787 rebasing 1:2ec65233581b "B"
1788 merging D
1788 merging D
1789 warning: conflicts while merging D! (edit, then use 'hg resolve --mark')
1789 warning: conflicts while merging D! (edit, then use 'hg resolve --mark')
1790 unresolved conflicts (see hg resolve, then hg rebase --continue)
1790 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
1791 [1]
1791 [1]
1792
1792
1793 $ cp -R . $TESTTMP/hidden-state2
1793 $ cp -R . $TESTTMP/hidden-state2
@@ -1872,7 +1872,7 b' Test --stop option |'
1872 rebasing 3:055a42cdd887 "d"
1872 rebasing 3:055a42cdd887 "d"
1873 merging d
1873 merging d
1874 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
1874 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
1875 unresolved conflicts (see hg resolve, then hg rebase --continue)
1875 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
1876 [1]
1876 [1]
1877 $ hg rebase --stop
1877 $ hg rebase --stop
1878 1 new orphan changesets
1878 1 new orphan changesets
@@ -1934,7 +1934,7 b' Test it aborts if unstable csets is not '
1934 rebasing 3:055a42cdd887 "d"
1934 rebasing 3:055a42cdd887 "d"
1935 merging d
1935 merging d
1936 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
1936 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
1937 unresolved conflicts (see hg resolve, then hg rebase --continue)
1937 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
1938 [1]
1938 [1]
1939 $ hg rebase --stop
1939 $ hg rebase --stop
1940 abort: cannot remove original changesets with unrebased descendants
1940 abort: cannot remove original changesets with unrebased descendants
@@ -1952,7 +1952,7 b' Test --stop when --keep is passed:'
1952 rebasing 3:055a42cdd887 "d"
1952 rebasing 3:055a42cdd887 "d"
1953 merging d
1953 merging d
1954 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
1954 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
1955 unresolved conflicts (see hg resolve, then hg rebase --continue)
1955 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
1956 [1]
1956 [1]
1957 $ hg rebase --stop
1957 $ hg rebase --stop
1958 $ hg log -G --template "{rev}:{short(node)} {person(author)}\n{firstline(desc)} {topic}\n\n"
1958 $ hg log -G --template "{rev}:{short(node)} {person(author)}\n{firstline(desc)} {topic}\n\n"
@@ -2014,7 +2014,7 b' Test --stop aborts when --collapse was p'
2014 rebasing 3:055a42cdd887 "d"
2014 rebasing 3:055a42cdd887 "d"
2015 merging d
2015 merging d
2016 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
2016 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
2017 unresolved conflicts (see hg resolve, then hg rebase --continue)
2017 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
2018 [1]
2018 [1]
2019 $ hg rebase --stop
2019 $ hg rebase --stop
2020 abort: cannot stop in --collapse session
2020 abort: cannot stop in --collapse session
@@ -2047,7 +2047,7 b' Test --stop raise errors with conflictin'
2047 rebasing 3:055a42cdd887 "d"
2047 rebasing 3:055a42cdd887 "d"
2048 merging d
2048 merging d
2049 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
2049 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
2050 unresolved conflicts (see hg resolve, then hg rebase --continue)
2050 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
2051 [1]
2051 [1]
2052 $ hg rebase --stop --dry-run
2052 $ hg rebase --stop --dry-run
2053 abort: cannot specify both --stop and --dry-run
2053 abort: cannot specify both --stop and --dry-run
@@ -2115,7 +2115,7 b' Test --stop moves bookmarks of original '
2115 rebasing 3:67a385d4e6f2 "D" (Z)
2115 rebasing 3:67a385d4e6f2 "D" (Z)
2116 merging d
2116 merging d
2117 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
2117 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
2118 unresolved conflicts (see hg resolve, then hg rebase --continue)
2118 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
2119 [1]
2119 [1]
2120 $ hg rebase --stop
2120 $ hg rebase --stop
2121 1 new orphan changesets
2121 1 new orphan changesets
@@ -479,7 +479,7 b' Test --tool parameter:'
479
479
480 $ hg rebase -s 2 -d 1 --tool internal:fail
480 $ hg rebase -s 2 -d 1 --tool internal:fail
481 rebasing 2:e4e3f3546619 "c2b" (tip)
481 rebasing 2:e4e3f3546619 "c2b" (tip)
482 unresolved conflicts (see hg resolve, then hg rebase --continue)
482 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
483 [1]
483 [1]
484
484
485 $ hg summary
485 $ hg summary
@@ -84,7 +84,7 b" Abort doesn't lose the commits that were"
84 rebasing 2:ef8c0fe0897b "D" (D)
84 rebasing 2:ef8c0fe0897b "D" (D)
85 merging file
85 merging file
86 warning: conflicts while merging file! (edit, then use 'hg resolve --mark')
86 warning: conflicts while merging file! (edit, then use 'hg resolve --mark')
87 unresolved conflicts (see hg resolve, then hg rebase --continue)
87 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
88 [1]
88 [1]
89 $ hg rebase --abort
89 $ hg rebase --abort
90 rebase aborted
90 rebase aborted
@@ -107,7 +107,7 b' continued'
107 rebasing 3:c26739dbe603 "C" (C)
107 rebasing 3:c26739dbe603 "C" (C)
108 merging conflict
108 merging conflict
109 warning: conflicts while merging conflict! (edit, then use 'hg resolve --mark')
109 warning: conflicts while merging conflict! (edit, then use 'hg resolve --mark')
110 unresolved conflicts (see hg resolve, then hg rebase --continue)
110 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
111 [1]
111 [1]
112 $ hg tglog
112 $ hg tglog
113 o 5: D
113 o 5: D
@@ -520,7 +520,7 b" Test 'hg resolve' confirm config option "
520 warning: conflicts while merging emp1! (edit, then use 'hg resolve --mark')
520 warning: conflicts while merging emp1! (edit, then use 'hg resolve --mark')
521 warning: conflicts while merging emp2! (edit, then use 'hg resolve --mark')
521 warning: conflicts while merging emp2! (edit, then use 'hg resolve --mark')
522 warning: conflicts while merging emp3! (edit, then use 'hg resolve --mark')
522 warning: conflicts while merging emp3! (edit, then use 'hg resolve --mark')
523 unresolved conflicts (see hg resolve, then hg rebase --continue)
523 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
524 [1]
524 [1]
525
525
526 Test when commands.resolve.confirm config option is not set:
526 Test when commands.resolve.confirm config option is not set:
@@ -200,7 +200,7 b' Verify rebase conflicts pulls in the con'
200 merging data.py
200 merging data.py
201 warning: conflicts while merging backend.sparse! (edit, then use 'hg resolve --mark')
201 warning: conflicts while merging backend.sparse! (edit, then use 'hg resolve --mark')
202 warning: conflicts while merging data.py! (edit, then use 'hg resolve --mark')
202 warning: conflicts while merging data.py! (edit, then use 'hg resolve --mark')
203 unresolved conflicts (see hg resolve, then hg rebase --continue)
203 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
204 [1]
204 [1]
205 $ rm *.orig
205 $ rm *.orig
206 $ ls -A
206 $ ls -A
@@ -200,7 +200,7 b' Verify rebase temporarily includes exclu'
200 temporarily included 2 file(s) in the sparse checkout for merging
200 temporarily included 2 file(s) in the sparse checkout for merging
201 merging hide
201 merging hide
202 warning: conflicts while merging hide! (edit, then use 'hg resolve --mark')
202 warning: conflicts while merging hide! (edit, then use 'hg resolve --mark')
203 unresolved conflicts (see hg resolve, then hg rebase --continue)
203 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
204 [1]
204 [1]
205
205
206 $ hg debugsparse
206 $ hg debugsparse
General Comments 0
You need to be logged in to leave comments. Login now