##// END OF EJS Templates
rebase: change and standarize template for rebase's one-line summary...
Martin von Zweigbergk -
r46356:f90a5c21 default
parent child Browse files
Show More
@@ -146,13 +146,8 b' def _revsetdestautoorphanrebase(repo, su'
146
146
147 def _ctxdesc(ctx):
147 def _ctxdesc(ctx):
148 """short description for a context"""
148 """short description for a context"""
149 labels_spec = b'join(filter(namespaces % "{ifeq(namespace, "branches", "", join(names, " "))}"), " ")'
150 spec = b'{rev}:{node|short} "{desc|firstline}"{if(%s, " ({%s})")}' % (
151 labels_spec,
152 labels_spec,
153 )
154 return cmdutil.format_changeset_summary(
149 return cmdutil.format_changeset_summary(
155 ctx.repo().ui, ctx, command=b'rebase', default_spec=spec
150 ctx.repo().ui, ctx, command=b'rebase'
156 )
151 )
157
152
158
153
@@ -1222,8 +1222,16 b' def format_changeset_summary(ui, ctx, co'
1222 if not spec:
1222 if not spec:
1223 spec = default_spec
1223 spec = default_spec
1224 if not spec:
1224 if not spec:
1225 # TODO: Pick a default we can agree on. This isn't used yet.
1225 spec = (
1226 raise error.ProgrammingError(b"no default one-line summary defined yet")
1226 b'{separate(" ", '
1227 b'label("log.changeset", "{rev}:{node|short}")'
1228 b', '
1229 b'label("log.tag", tags)'
1230 b', '
1231 b'label("log.bookmark", bookmarks)'
1232 b')} '
1233 b'"{label("log.desc", desc|firstline)}"'
1234 )
1227 text = rendertemplate(ctx, spec)
1235 text = rendertemplate(ctx, spec)
1228 return text.split(b'\n')[0]
1236 return text.split(b'\n')[0]
1229
1237
@@ -17,7 +17,7 b' Abort absorb if there is an unfinished o'
17 $ hg commit -Aqm "foo 2"
17 $ hg commit -Aqm "foo 2"
18
18
19 $ hg --config extensions.rebase= rebase -r 1 -d 0
19 $ hg --config extensions.rebase= rebase -r 1 -d 0
20 rebasing 1:c3b6dc0e177a "foo 2" (tip)
20 rebasing 1:c3b6dc0e177a tip "foo 2"
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')
@@ -177,7 +177,7 b' and the rebase should fail (issue5628)'
177
177
178 $ hg up -qC 2
178 $ hg up -qC 2
179 $ hg rebase -s 2 -d 1 --config extensions.rebase=
179 $ hg rebase -s 2 -d 1 --config extensions.rebase=
180 rebasing 2:e73c21d6b244 "file a/poisoned" (tip)
180 rebasing 2:e73c21d6b244 tip "file a/poisoned"
181 abort: path 'a/poisoned' traverses symbolic link 'a'
181 abort: path 'a/poisoned' traverses symbolic link 'a'
182 [255]
182 [255]
183 $ ls ../merge-symlink-out
183 $ ls ../merge-symlink-out
@@ -37,7 +37,7 b' bookmark list'
37 rebase
37 rebase
38
38
39 $ hg rebase -s two -d one
39 $ hg rebase -s two -d one
40 rebasing 3:2ae46b1d99a7 "3" (two tip)
40 rebasing 3:2ae46b1d99a7 tip two "3"
41 saved backup bundle to $TESTTMP/.hg/strip-backup/2ae46b1d99a7-e6b057bc-rebase.hg
41 saved backup bundle to $TESTTMP/.hg/strip-backup/2ae46b1d99a7-e6b057bc-rebase.hg
42
42
43 $ hg log
43 $ hg log
@@ -77,7 +77,7 b' aborted rebase should restore active boo'
77 created new head
77 created new head
78 $ hg bookmark three
78 $ hg bookmark three
79 $ hg rebase -s three -d two
79 $ hg rebase -s three -d two
80 rebasing 4:dd7c838e8362 "4" (three tip)
80 rebasing 4:dd7c838e8362 tip three "4"
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')
@@ -92,7 +92,7 b' aborted rebase should restore active boo'
92 after aborted rebase, restoring a bookmark that has been removed should not fail
92 after aborted rebase, restoring a bookmark that has been removed should not fail
93
93
94 $ hg rebase -s three -d two
94 $ hg rebase -s three -d two
95 rebasing 4:dd7c838e8362 "4" (three tip)
95 rebasing 4:dd7c838e8362 tip three "4"
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')
@@ -344,7 +344,7 b' Test rebasing a commit with copy informa'
344 $ hg mv a b
344 $ hg mv a b
345 $ hg ci -qm 'rename a to b'
345 $ hg ci -qm 'rename a to b'
346 $ hg rebase -d 1 --config rebase.experimental.inmemory=yes
346 $ hg rebase -d 1 --config rebase.experimental.inmemory=yes
347 rebasing 2:* "rename a to b" (tip) (glob)
347 rebasing 2:* tip "rename a to b" (glob)
348 merging a and b to b
348 merging a and b to b
349 saved backup bundle to $TESTTMP/rebase-rename/.hg/strip-backup/*-*-rebase.hg (glob)
349 saved backup bundle to $TESTTMP/rebase-rename/.hg/strip-backup/*-*-rebase.hg (glob)
350 $ hg st --change . --copies
350 $ hg st --change . --copies
@@ -625,8 +625,8 b' merging csets is a descendant of the bas'
625 a
625 a
626
626
627 $ hg rebase -r . -d 2 -t :other
627 $ hg rebase -r . -d 2 -t :other
628 rebasing 5:5018b1509e94 "added willconflict and d" (tip) (no-changeset !)
628 rebasing 5:5018b1509e94 tip "added willconflict and d" (no-changeset !)
629 rebasing 5:af8d273bf580 "added willconflict and d" (tip) (changeset !)
629 rebasing 5:af8d273bf580 tip "added willconflict and d" (changeset !)
630
630
631 $ hg up 3 -q
631 $ hg up 3 -q
632 $ hg l --hidden
632 $ hg l --hidden
@@ -137,7 +137,7 b' first verify copy metadata was kept'
137
137
138 $ hg up -qC 2
138 $ hg up -qC 2
139 $ hg rebase --keep -d 1 -b 2 --config extensions.rebase=
139 $ hg rebase --keep -d 1 -b 2 --config extensions.rebase=
140 rebasing 2:add3f11052fa "other" (tip)
140 rebasing 2:add3f11052fa tip "other"
141 merging b and a to b
141 merging b and a to b
142 merging c and a to c
142 merging c and a to c
143
143
@@ -156,7 +156,7 b' first verify copy metadata was kept'
156 $ hg rebase --keep -d 1 -b 2 --config extensions.rebase= --config experimental.copytrace=off --config ui.interactive=True << EOF
156 $ hg rebase --keep -d 1 -b 2 --config extensions.rebase= --config experimental.copytrace=off --config ui.interactive=True << EOF
157 > c
157 > c
158 > EOF
158 > EOF
159 rebasing 2:add3f11052fa "other" (tip)
159 rebasing 2:add3f11052fa tip "other"
160 file 'a' was deleted in local [dest] but was modified in other [source].
160 file 'a' was deleted in local [dest] but was modified in other [source].
161 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
161 You can use (c)hanged version, leave (d)eleted, or leave (u)nresolved.
162 What do you want to do? c
162 What do you want to do? c
@@ -238,7 +238,7 b' A file is copied on one side and has bee'
238 file is copied from `0:a`, so the file history of the `3:b` should trace directly to `0:a`.
238 file is copied from `0:a`, so the file history of the `3:b` should trace directly to `0:a`.
239
239
240 $ hg rebase -d 2 -s 3 --config extensions.rebase= --config experimental.copytrace=off
240 $ hg rebase -d 2 -s 3 --config extensions.rebase= --config experimental.copytrace=off
241 rebasing 3:47e1a9e6273b "copy a->b (2)" (tip)
241 rebasing 3:47e1a9e6273b tip "copy a->b (2)"
242 saved backup bundle to $TESTTMP/copydisable3/.hg/strip-backup/47e1a9e6273b-2d099c59-rebase.hg
242 saved backup bundle to $TESTTMP/copydisable3/.hg/strip-backup/47e1a9e6273b-2d099c59-rebase.hg
243
243
244 $ hg log -G -f b
244 $ hg log -G -f b
@@ -54,7 +54,7 b' Check filename heuristics (same dirname '
54 desc: initial
54 desc: initial
55
55
56 $ hg rebase -s . -d 1
56 $ hg rebase -s . -d 1
57 rebasing 2:557f403c0afd "mod a, mod dir/file.txt" (tip)
57 rebasing 2:557f403c0afd tip "mod a, mod dir/file.txt"
58 merging b and a to b
58 merging b and a to b
59 merging dir2/file.txt and dir/file.txt to dir2/file.txt
59 merging dir2/file.txt and dir/file.txt to dir2/file.txt
60 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/557f403c0afd-9926eeff-rebase.hg
60 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/557f403c0afd-9926eeff-rebase.hg
@@ -87,7 +87,7 b' Make sure filename heuristics do not whe'
87 desc: initial
87 desc: initial
88
88
89 $ hg rebase -s . -d 1
89 $ hg rebase -s . -d 1
90 rebasing 2:d526312210b9 "mode a" (tip)
90 rebasing 2:d526312210b9 tip "mode a"
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
@@ -126,7 +126,7 b" Test when lca didn't modified the file t"
126 desc: initial
126 desc: initial
127
127
128 $ hg rebase -s . -d 2
128 $ hg rebase -s . -d 2
129 rebasing 3:9d5cf99c3d9f "mod a" (tip)
129 rebasing 3:9d5cf99c3d9f tip "mod a"
130 merging b and a to b
130 merging b and a to b
131 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/9d5cf99c3d9f-f02358cc-rebase.hg
131 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/9d5cf99c3d9f-f02358cc-rebase.hg
132 $ cd ..
132 $ cd ..
@@ -161,7 +161,7 b' Rebase "backwards"'
161 desc: initial
161 desc: initial
162
162
163 $ hg rebase -s . -d 0
163 $ hg rebase -s . -d 0
164 rebasing 3:fbe97126b396 "mod b" (tip)
164 rebasing 3:fbe97126b396 tip "mod b"
165 merging a and b to a
165 merging a and b to a
166 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fbe97126b396-cf5452a1-rebase.hg
166 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fbe97126b396-cf5452a1-rebase.hg
167 $ cd ..
167 $ cd ..
@@ -198,7 +198,7 b' Check a few potential move candidates'
198 desc: initial
198 desc: initial
199
199
200 $ hg rebase -s . -d 2
200 $ hg rebase -s . -d 2
201 rebasing 3:6b2f4cece40f "mod dir/a" (tip)
201 rebasing 3:6b2f4cece40f tip "mod dir/a"
202 merging dir/b and dir/a to dir/b
202 merging dir/b and dir/a to dir/b
203 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/6b2f4cece40f-503efe60-rebase.hg
203 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/6b2f4cece40f-503efe60-rebase.hg
204 $ cd ..
204 $ cd ..
@@ -243,7 +243,7 b' Test the copytrace.movecandidateslimit w'
243 With small limit
243 With small limit
244
244
245 $ hg rebase -s 2 -d 1 --config experimental.copytrace.movecandidateslimit=0
245 $ hg rebase -s 2 -d 1 --config experimental.copytrace.movecandidateslimit=0
246 rebasing 2:ef716627c70b "mod a" (tip)
246 rebasing 2:ef716627c70b tip "mod a"
247 skipping copytracing for 'a', more candidates than the limit: 7
247 skipping copytracing for 'a', more candidates than the limit: 7
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.
@@ -257,7 +257,7 b' With small limit'
257 With default limit which is 100
257 With default limit which is 100
258
258
259 $ hg rebase -s 2 -d 1
259 $ hg rebase -s 2 -d 1
260 rebasing 2:ef716627c70b "mod a" (tip)
260 rebasing 2:ef716627c70b tip "mod a"
261 merging foo and a to foo
261 merging foo and a to foo
262 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg
262 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg
263
263
@@ -323,7 +323,7 b' Move a directory in draft branch'
323 desc: initial
323 desc: initial
324
324
325 $ hg rebase -s . -d 1
325 $ hg rebase -s . -d 1
326 rebasing 2:a33d80b6e352 "mv dir/ dir2/" (tip)
326 rebasing 2:a33d80b6e352 tip "mv dir/ dir2/"
327 merging dir/a and dir2/a to dir2/a
327 merging dir/a and dir2/a to dir2/a
328 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/a33d80b6e352-fecb9ada-rebase.hg
328 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/a33d80b6e352-fecb9ada-rebase.hg
329 $ cd ..
329 $ cd ..
@@ -358,7 +358,7 b' Move file twice and rebase mod on top of'
358 o rev: 0
358 o rev: 0
359 desc: initial
359 desc: initial
360 $ hg rebase -s . -d 2
360 $ hg rebase -s . -d 2
361 rebasing 3:d41316942216 "mod a" (tip)
361 rebasing 3:d41316942216 tip "mod a"
362 merging c and a to c
362 merging c and a to c
363 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d41316942216-2b5949bc-rebase.hg
363 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d41316942216-2b5949bc-rebase.hg
364
364
@@ -431,7 +431,7 b' Move one file and add another file in th'
431 desc: initial
431 desc: initial
432
432
433 $ hg rebase -s . -d 2
433 $ hg rebase -s . -d 2
434 rebasing 3:ef716627c70b "mod a" (tip)
434 rebasing 3:ef716627c70b tip "mod a"
435 merging b and a to b
435 merging b and a to b
436 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg
436 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg
437 $ ls -A
437 $ ls -A
@@ -504,7 +504,7 b' Copy and move file'
504 desc: initial
504 desc: initial
505
505
506 $ hg rebase -s . -d 1
506 $ hg rebase -s . -d 1
507 rebasing 2:ef716627c70b "mod a" (tip)
507 rebasing 2:ef716627c70b tip "mod a"
508 merging b and a to b
508 merging b and a to b
509 merging c and a to c
509 merging c and a to c
510 saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg
510 saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/ef716627c70b-24681561-rebase.hg
@@ -631,7 +631,7 b' File directory and base name changed in '
631 desc: initial
631 desc: initial
632
632
633 $ hg rebase -s . -d 1 --config experimental.copytrace.sourcecommitlimit=100
633 $ hg rebase -s . -d 1 --config experimental.copytrace.sourcecommitlimit=100
634 rebasing 2:6207d2d318e7 "mod a" (tip)
634 rebasing 2:6207d2d318e7 tip "mod a"
635 merging dir2/b and dir1/a to dir2/b
635 merging dir2/b and dir1/a to dir2/b
636 saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/6207d2d318e7-1c9779ad-rebase.hg
636 saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/6207d2d318e7-1c9779ad-rebase.hg
637 $ cat dir2/b
637 $ cat dir2/b
@@ -669,7 +669,7 b' in other merge parent. File moved on reb'
669 desc: initial
669 desc: initial
670
670
671 $ hg rebase -s . -d 1 --config experimental.copytrace.sourcecommitlimit=100
671 $ hg rebase -s . -d 1 --config experimental.copytrace.sourcecommitlimit=100
672 rebasing 2:e8919e7df8d0 "mv dir1 dir2" (tip)
672 rebasing 2:e8919e7df8d0 tip "mv dir1 dir2"
673 saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/e8919e7df8d0-f62fab62-rebase.hg
673 saved backup bundle to $TESTTMP/repo/repo/.hg/strip-backup/e8919e7df8d0-f62fab62-rebase.hg
674 $ ls dir2
674 $ ls dir2
675 a
675 a
@@ -225,7 +225,7 b' the merge tool goes to /dev/null because'
225 > EOF
225 > EOF
226
226
227 $ hg rebase -s . -d 3 --tool test
227 $ hg rebase -s . -d 3 --tool test
228 rebasing 4:b08445fd6b2a "c4" (tip)
228 rebasing 4:b08445fd6b2a tip "c4"
229 merging a
229 merging a
230 custom merge tool
230 custom merge tool
231 custom merge tool end
231 custom merge tool end
@@ -865,7 +865,7 b' fixing the working directory if there ar'
865 $ hg commit -Aqm "foo 2"
865 $ hg commit -Aqm "foo 2"
866
866
867 $ hg --config extensions.rebase= rebase -r 1 -d 0
867 $ hg --config extensions.rebase= rebase -r 1 -d 0
868 rebasing 1:c3b6dc0e177a "foo 2" (tip)
868 rebasing 1:c3b6dc0e177a tip "foo 2"
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')
@@ -356,7 +356,7 b' enabling obsmarkers and rebase extension'
356
356
357 $ hg phase -r . --draft --force
357 $ hg phase -r . --draft --force
358 $ hg rebase -r 6 -d 3
358 $ hg rebase -r 6 -d 3
359 rebasing 6:9b42578d4447 "added f" (tip)
359 rebasing 6:9b42578d4447 tip "added f"
360
360
361 $ hg glog
361 $ hg glog
362 @ 7:99949238d9ac added f
362 @ 7:99949238d9ac added f
@@ -307,7 +307,7 b' automated commit like rebase/transplant'
307
307
308 $ hg rebase -s 1 -d 2 --keep
308 $ hg rebase -s 1 -d 2 --keep
309 rebasing 1:72518492caa6 "#1"
309 rebasing 1:72518492caa6 "#1"
310 rebasing 4:07d6153b5c04 "#4" (tip)
310 rebasing 4:07d6153b5c04 tip "#4"
311
311
312 $ hg status -A large1
312 $ hg status -A large1
313 large1: $ENOENT$
313 large1: $ENOENT$
@@ -70,5 +70,5 b' create full repo'
70 $ echo new > inside/f5
70 $ echo new > inside/f5
71 $ hg ci -Aqm 'add inside/f5'
71 $ hg ci -Aqm 'add inside/f5'
72 $ hg --config extensions.rebase= rebase -d 'public()' -r .
72 $ hg --config extensions.rebase= rebase -d 'public()' -r .
73 rebasing 6:610b60178c28 "add inside/f5" (tip)
73 rebasing 6:610b60178c28 tip "add inside/f5"
74 saved backup bundle to $TESTTMP/narrow/.hg/strip-backup/610b60178c28-65716a78-rebase.hg
74 saved backup bundle to $TESTTMP/narrow/.hg/strip-backup/610b60178c28-65716a78-rebase.hg
@@ -61,7 +61,7 b' Can rebase onto commit where no files ou'
61 $ echo modified > inside/f2
61 $ echo modified > inside/f2
62 $ hg ci -qm 'modify inside/f2'
62 $ hg ci -qm 'modify inside/f2'
63 $ hg rebase -d 'desc("modify inside/f1")'
63 $ hg rebase -d 'desc("modify inside/f1")'
64 rebasing 5:c2f36d04e05d "modify inside/f2" (tip)
64 rebasing 5:c2f36d04e05d tip "modify inside/f2"
65 saved backup bundle to $TESTTMP/narrow/.hg/strip-backup/*-rebase.hg (glob)
65 saved backup bundle to $TESTTMP/narrow/.hg/strip-backup/*-rebase.hg (glob)
66
66
67 Can rebase onto conflicting changes inside narrow spec
67 Can rebase onto conflicting changes inside narrow spec
@@ -70,14 +70,14 b' Can rebase onto conflicting changes insi'
70 $ echo conflicting > inside/f1
70 $ echo conflicting > inside/f1
71 $ hg ci -qm 'conflicting inside/f1'
71 $ hg ci -qm 'conflicting inside/f1'
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 tip "conflicting inside/f1"
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)
79 $ hg continue
79 $ hg continue
80 rebasing 6:cdce97fbf653 "conflicting inside/f1" (tip)
80 rebasing 6:cdce97fbf653 tip "conflicting inside/f1"
81 saved backup bundle to $TESTTMP/narrow/.hg/strip-backup/*-rebase.hg (glob)
81 saved backup bundle to $TESTTMP/narrow/.hg/strip-backup/*-rebase.hg (glob)
82
82
83 Can rebase onto non-conflicting changes outside narrow spec
83 Can rebase onto non-conflicting changes outside narrow spec
@@ -86,7 +86,7 b' Can rebase onto non-conflicting changes '
86 $ echo modified > inside/f2
86 $ echo modified > inside/f2
87 $ hg ci -qm 'modify inside/f2'
87 $ hg ci -qm 'modify inside/f2'
88 $ hg rebase -d 'desc("modify outside/f1")'
88 $ hg rebase -d 'desc("modify outside/f1")'
89 rebasing 7:c2f36d04e05d "modify inside/f2" (tip)
89 rebasing 7:c2f36d04e05d tip "modify inside/f2"
90 saved backup bundle to $TESTTMP/narrow/.hg/strip-backup/*-rebase.hg (glob)
90 saved backup bundle to $TESTTMP/narrow/.hg/strip-backup/*-rebase.hg (glob)
91
91
92 Rebase interrupts on conflicting changes outside narrow spec
92 Rebase interrupts on conflicting changes outside narrow spec
@@ -76,7 +76,7 b' rebase (parents change)'
76 $ mkcommit C0
76 $ mkcommit C0
77 $ mkcommit D0
77 $ mkcommit D0
78 $ hg rebase -r . -d 'desc(B0)'
78 $ hg rebase -r . -d 'desc(B0)'
79 rebasing 10:c85eff83a034 "D0" (tip)
79 rebasing 10:c85eff83a034 tip "D0"
80
80
81 check result
81 check result
82
82
@@ -78,7 +78,7 b' Conflicting rebase:'
78
78
79 $ hg rebase -s 3 -d 2
79 $ hg rebase -s 3 -d 2
80 rebasing 3:3163e20567cc "L1"
80 rebasing 3:3163e20567cc "L1"
81 rebasing 4:46f0b057b5c0 "L2" (tip)
81 rebasing 4:46f0b057b5c0 tip "L2"
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')
@@ -145,7 +145,7 b' earlier than 2.7 by renaming ".hg/rebase'
145
145
146 $ hg rebase -s 3 -d 2
146 $ hg rebase -s 3 -d 2
147 rebasing 3:3163e20567cc "L1"
147 rebasing 3:3163e20567cc "L1"
148 rebasing 4:46f0b057b5c0 "L2" (tip)
148 rebasing 4:46f0b057b5c0 tip "L2"
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')
@@ -215,7 +215,7 b' Rebase and abort without generating new '
215 $ hg rebase -b 4 -d 2
215 $ hg rebase -b 4 -d 2
216 rebasing 3:a6484957d6b9 "B bis"
216 rebasing 3:a6484957d6b9 "B bis"
217 note: not rebasing 3:a6484957d6b9 "B bis", its destination already has all its changes
217 note: not rebasing 3:a6484957d6b9 "B bis", its destination already has all its changes
218 rebasing 4:145842775fec "C1" (tip)
218 rebasing 4:145842775fec tip "C1"
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')
@@ -274,7 +274,7 b' rebase abort should not leave working co'
274
274
275
275
276 $ hg rebase -d master -r foo
276 $ hg rebase -d master -r foo
277 rebasing 3:6c0f977a22d8 "C" (foo tip)
277 rebasing 3:6c0f977a22d8 tip foo "C"
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')
@@ -314,7 +314,7 b' user has somehow managed to update to a '
314 created new head
314 created new head
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 tip foo "b2"
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
@@ -36,9 +36,9 b' Single branching point, without merge:'
36 > |
36 > |
37 > R
37 > R
38 > EOS
38 > EOS
39 rebasing 3:d6003a550c2c "C" (C)
39 rebasing 3:d6003a550c2c C "C"
40 rebasing 5:4526cf523425 "D" (D)
40 rebasing 5:4526cf523425 D "D"
41 rebasing 6:b296604d9846 "E" (E tip)
41 rebasing 6:b296604d9846 E tip "E"
42 o 6: 4870f5e7df37 E
42 o 6: 4870f5e7df37 E
43 |
43 |
44 | o 5: dc999528138a D
44 | o 5: dc999528138a D
@@ -66,9 +66,9 b' Multiple branching points caused by sele'
66 > |
66 > |
67 > R
67 > R
68 > EOS
68 > EOS
69 rebasing 2:c1e6b162678d "B" (B)
69 rebasing 2:c1e6b162678d B "B"
70 rebasing 3:d6003a550c2c "C" (C)
70 rebasing 3:d6003a550c2c C "C"
71 rebasing 6:54c8f00cb91c "E" (E tip)
71 rebasing 6:54c8f00cb91c E tip "E"
72 o 6: 00598421b616 E
72 o 6: 00598421b616 E
73 |\
73 |\
74 | o 5: 6b3e11729672 C
74 | o 5: 6b3e11729672 C
@@ -94,8 +94,8 b' Rebase should not extend the "--base" re'
94 > |
94 > |
95 > R
95 > R
96 > EOS
96 > EOS
97 rebasing 2:c1e6b162678d "B" (B)
97 rebasing 2:c1e6b162678d B "B"
98 rebasing 5:54c8f00cb91c "E" (E tip)
98 rebasing 5:54c8f00cb91c E tip "E"
99 o 5: e583bf3ff54c E
99 o 5: e583bf3ff54c E
100 |\
100 |\
101 | o 4: 85260910e847 B
101 | o 4: 85260910e847 B
@@ -119,9 +119,9 b' Rebase should not simplify the "--base" '
119 > |
119 > |
120 > R
120 > R
121 > EOS
121 > EOS
122 rebasing 2:c1e6b162678d "B" (B)
122 rebasing 2:c1e6b162678d B "B"
123 rebasing 3:d6003a550c2c "C" (C)
123 rebasing 3:d6003a550c2c C "C"
124 rebasing 5:54c8f00cb91c "E" (E tip)
124 rebasing 5:54c8f00cb91c E tip "E"
125 o 5: 00598421b616 E
125 o 5: 00598421b616 E
126 |\
126 |\
127 | o 4: 6b3e11729672 C
127 | o 4: 6b3e11729672 C
@@ -167,12 +167,12 b' Multiple branching points caused by mult'
167 > |
167 > |
168 > R
168 > R
169 > EOS
169 > EOS
170 rebasing 3:a113dbaa660a "B1" (B1)
170 rebasing 3:a113dbaa660a B1 "B1"
171 rebasing 5:06ce7b1cc8c2 "B2" (B2)
171 rebasing 5:06ce7b1cc8c2 B2 "B2"
172 rebasing 6:0ac98cce32d3 "C1" (C1)
172 rebasing 6:0ac98cce32d3 C1 "C1"
173 rebasing 8:781512f5e33d "C2" (C2)
173 rebasing 8:781512f5e33d C2 "C2"
174 rebasing 9:428d8c18f641 "E1" (E1)
174 rebasing 9:428d8c18f641 E1 "E1"
175 rebasing 11:e1bf82f6b6df "E2" (E2)
175 rebasing 11:e1bf82f6b6df E2 "E2"
176 o 12: e4a37b6fdbd2 E2
176 o 12: e4a37b6fdbd2 E2
177 |
177 |
178 o 11: 9675bea983df E1
178 o 11: 9675bea983df E1
@@ -210,19 +210,19 b' Multiple branching points with multiple '
210 > \|/ |/ |/
210 > \|/ |/ |/
211 > A A A
211 > A A A
212 > EOS
212 > EOS
213 rebasing 2:dc0947a82db8 "C" (C)
213 rebasing 2:dc0947a82db8 C "C"
214 rebasing 8:4e4f9194f9f1 "D" (D)
214 rebasing 8:4e4f9194f9f1 D "D"
215 rebasing 9:03ca77807e91 "E" (E)
215 rebasing 9:03ca77807e91 E "E"
216 rebasing 10:afc707c82df0 "F" (F)
216 rebasing 10:afc707c82df0 F "F"
217 rebasing 13:690dfff91e9e "G" (G)
217 rebasing 13:690dfff91e9e G "G"
218 rebasing 14:2893b886bb10 "H" (H)
218 rebasing 14:2893b886bb10 H "H"
219 rebasing 3:08ebfeb61bac "I" (I)
219 rebasing 3:08ebfeb61bac I "I"
220 rebasing 4:a0a5005cec67 "J" (J)
220 rebasing 4:a0a5005cec67 J "J"
221 rebasing 5:83780307a7e8 "K" (K)
221 rebasing 5:83780307a7e8 K "K"
222 rebasing 6:e131637a1cb6 "L" (L)
222 rebasing 6:e131637a1cb6 L "L"
223 rebasing 11:d1f6d0c3c7e4 "M" (M)
223 rebasing 11:d1f6d0c3c7e4 M "M"
224 rebasing 12:7aaec6f81888 "N" (N)
224 rebasing 12:7aaec6f81888 N "N"
225 rebasing 15:325bc8f1760d "P" (P tip)
225 rebasing 15:325bc8f1760d P tip "P"
226 o 15: 6ef6a0ea3b18 P
226 o 15: 6ef6a0ea3b18 P
227 |\
227 |\
228 | o 14: 20ba3610a7e5 N
228 | o 14: 20ba3610a7e5 N
@@ -268,13 +268,13 b' Slightly more complex merge case (mentio'
268 > |
268 > |
269 > M0
269 > M0
270 > EOF
270 > EOF
271 rebasing 4:8817fae53c94 "C0" (C0)
271 rebasing 4:8817fae53c94 C0 "C0"
272 rebasing 6:06ca5dfe3b5b "B2" (B2)
272 rebasing 6:06ca5dfe3b5b B2 "B2"
273 rebasing 7:73508237b032 "C1" (C1)
273 rebasing 7:73508237b032 C1 "C1"
274 rebasing 9:fdb955e2faed "A2" (A2)
274 rebasing 9:fdb955e2faed A2 "A2"
275 rebasing 11:4e449bd1a643 "A3" (A3)
275 rebasing 11:4e449bd1a643 A3 "A3"
276 rebasing 10:0a33b0519128 "B1" (B1)
276 rebasing 10:0a33b0519128 B1 "B1"
277 rebasing 12:209327807c3a "B3" (B3 tip)
277 rebasing 12:209327807c3a B3 tip "B3"
278 o 12: ceb984566332 B3
278 o 12: ceb984566332 B3
279 |\
279 |\
280 | o 11: 19d93caac497 B1
280 | o 11: 19d93caac497 B1
@@ -318,8 +318,8 b' Multiple roots. Roots are ancestors of d'
318 > \|\|
318 > \|\|
319 > C A
319 > C A
320 > EOF
320 > EOF
321 rebasing 2:112478962961 "B" (B)
321 rebasing 2:112478962961 B "B"
322 rebasing 3:b70f76719894 "D" (D)
322 rebasing 3:b70f76719894 D "D"
323 o 4: 511efad7bf13 D
323 o 4: 511efad7bf13 D
324 |
324 |
325 | o 3: 25c4e279af62 B
325 | o 3: 25c4e279af62 B
@@ -349,8 +349,8 b' Multiple roots. One root is not an ances'
349 > \|\|
349 > \|\|
350 > A C
350 > A C
351 > EOF
351 > EOF
352 rebasing 2:f675d5a1c6a4 "B" (B)
352 rebasing 2:f675d5a1c6a4 B "B"
353 rebasing 5:f68696fe6af8 "E" (E tip)
353 rebasing 5:f68696fe6af8 E tip "E"
354 o 5: f6e6f5081554 E
354 o 5: f6e6f5081554 E
355 |\
355 |\
356 | o 4: 30cabcba27be B
356 | o 4: 30cabcba27be B
@@ -370,8 +370,8 b' Multiple roots. Two children share two p'
370 > \|\|\
370 > \|\|\
371 > A C A
371 > A C A
372 > EOF
372 > EOF
373 rebasing 2:f675d5a1c6a4 "B" (B)
373 rebasing 2:f675d5a1c6a4 B "B"
374 rebasing 3:c2a779e13b56 "D" (D)
374 rebasing 3:c2a779e13b56 D "D"
375 o 4: 5eecd056b5f8 D
375 o 4: 5eecd056b5f8 D
376 |\
376 |\
377 +---o 3: 30cabcba27be B
377 +---o 3: 30cabcba27be B
@@ -75,7 +75,7 b' Test deleting divergent bookmarks from d'
75 o 0: 1994f17a630e 'A' bookmarks: Y@diverge
75 o 0: 1994f17a630e 'A' bookmarks: Y@diverge
76
76
77 $ hg rebase -s Y -d 3
77 $ hg rebase -s Y -d 3
78 rebasing 2:49cb3485fa0c "C" (Y Z)
78 rebasing 2:49cb3485fa0c Y Z "C"
79 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/49cb3485fa0c-126f3e97-rebase.hg
79 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/49cb3485fa0c-126f3e97-rebase.hg
80
80
81 $ hg tglog
81 $ hg tglog
@@ -97,7 +97,7 b' Do not try to keep active but deleted di'
97 $ hg book W@diverge
97 $ hg book W@diverge
98
98
99 $ hg rebase -s W -d .
99 $ hg rebase -s W -d .
100 rebasing 3:41acb9dca9eb "D" (W tip)
100 rebasing 3:41acb9dca9eb tip W "D"
101 saved backup bundle to $TESTTMP/a4/.hg/strip-backup/41acb9dca9eb-b35a6a63-rebase.hg
101 saved backup bundle to $TESTTMP/a4/.hg/strip-backup/41acb9dca9eb-b35a6a63-rebase.hg
102
102
103 $ hg bookmarks
103 $ hg bookmarks
@@ -115,8 +115,8 b' Keep bookmarks to the correct rebased ch'
115 $ hg up -q Z
115 $ hg up -q Z
116
116
117 $ hg rebase -s 1 -d 3
117 $ hg rebase -s 1 -d 3
118 rebasing 1:6c81ed0049f8 "B" (X)
118 rebasing 1:6c81ed0049f8 X "B"
119 rebasing 2:49cb3485fa0c "C" (Y Z)
119 rebasing 2:49cb3485fa0c Y Z "C"
120 saved backup bundle to $TESTTMP/a2/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg
120 saved backup bundle to $TESTTMP/a2/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg
121
121
122 $ hg tglog
122 $ hg tglog
@@ -138,8 +138,8 b' Keep active bookmark on the correct chan'
138 $ hg up -q X
138 $ hg up -q X
139
139
140 $ hg rebase -d W
140 $ hg rebase -d W
141 rebasing 1:6c81ed0049f8 "B" (X)
141 rebasing 1:6c81ed0049f8 X "B"
142 rebasing 2:49cb3485fa0c "C" (Y Z)
142 rebasing 2:49cb3485fa0c Y Z "C"
143 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg
143 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/6c81ed0049f8-a687065f-rebase.hg
144
144
145 $ hg tglog
145 $ hg tglog
@@ -169,7 +169,7 b' rebase --continue with bookmarks present'
169 $ hg up 3
169 $ hg up 3
170 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
170 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
171 $ hg rebase --dest 4
171 $ hg rebase --dest 4
172 rebasing 3:3d5fa227f4b5 "C" (Y Z)
172 rebasing 3:3d5fa227f4b5 Y Z "C"
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')
@@ -179,7 +179,7 b' rebase --continue with bookmarks present'
179 (no more unresolved files)
179 (no more unresolved files)
180 continue: hg rebase --continue
180 continue: hg rebase --continue
181 $ hg rebase --continue
181 $ hg rebase --continue
182 rebasing 3:3d5fa227f4b5 "C" (Y Z)
182 rebasing 3:3d5fa227f4b5 Y Z "C"
183 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/3d5fa227f4b5-c6ea2371-rebase.hg
183 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/3d5fa227f4b5-c6ea2371-rebase.hg
184 $ hg tglog
184 $ hg tglog
185 @ 4: 45c0f0ec1203 'C' bookmarks: Y Z
185 @ 4: 45c0f0ec1203 'C' bookmarks: Y Z
@@ -209,7 +209,7 b' as --rev arguments (issue3950)'
209 $ hg rebase -r '"bisect"^^::"bisect"^' -r bisect -d Z
209 $ hg rebase -r '"bisect"^^::"bisect"^' -r bisect -d Z
210 rebasing 5:345c90f326a4 "bisect"
210 rebasing 5:345c90f326a4 "bisect"
211 rebasing 6:f677a2907404 "bisect2"
211 rebasing 6:f677a2907404 "bisect2"
212 rebasing 7:325c16001345 "bisect3" (bisect tip)
212 rebasing 7:325c16001345 tip bisect "bisect3"
213 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/345c90f326a4-b4840586-rebase.hg
213 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/345c90f326a4-b4840586-rebase.hg
214
214
215 Bookmark and working parent get moved even if --keep is set (issue5682)
215 Bookmark and working parent get moved even if --keep is set (issue5682)
@@ -232,7 +232,7 b' Bookmark and working parent get moved ev'
232 o 0: 426bada5c675 'A' bookmarks: A
232 o 0: 426bada5c675 'A' bookmarks: A
233
233
234 $ hg rebase -r B -d C --keep
234 $ hg rebase -r B -d C --keep
235 rebasing 1:112478962961 "B" (B)
235 rebasing 1:112478962961 B "B"
236 $ hg tglog
236 $ hg tglog
237 @ 3: 9769fc65c4c5 'B' bookmarks: B
237 @ 3: 9769fc65c4c5 'B' bookmarks: B
238 |
238 |
@@ -165,7 +165,7 b' Rebase head of branch3 (8) onto branch2 '
165 o 0: 'A'
165 o 0: 'A'
166
166
167 $ hg rebase -s 8 -d 6
167 $ hg rebase -s 8 -d 6
168 rebasing 8:4666b71e8e32 "F" (tip)
168 rebasing 8:4666b71e8e32 tip "F"
169 saved backup bundle to $TESTTMP/a2/.hg/strip-backup/4666b71e8e32-fc1c4e96-rebase.hg
169 saved backup bundle to $TESTTMP/a2/.hg/strip-backup/4666b71e8e32-fc1c4e96-rebase.hg
170
170
171 $ hg branches
171 $ hg branches
@@ -232,7 +232,7 b' Rebase entire branch3 (7-8) onto branch2'
232 $ hg rebase -s 7 -d 6
232 $ hg rebase -s 7 -d 6
233 rebasing 7:653b9feb4616 "branch3"
233 rebasing 7:653b9feb4616 "branch3"
234 note: not rebasing 7:653b9feb4616 "branch3", its destination already has all its changes
234 note: not rebasing 7:653b9feb4616 "branch3", its destination already has all its changes
235 rebasing 8:4666b71e8e32 "F" (tip)
235 rebasing 8:4666b71e8e32 tip "F"
236 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/653b9feb4616-3c88de16-rebase.hg
236 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/653b9feb4616-3c88de16-rebase.hg
237
237
238 $ hg branches
238 $ hg branches
@@ -478,6 +478,6 b' Turn most changeset public'
478 $ HGEDITOR="sh $TESTTMP/checkeditform.sh" hg rebase --dest 7 --source 5 -e
478 $ HGEDITOR="sh $TESTTMP/checkeditform.sh" hg rebase --dest 7 --source 5 -e
479 rebasing 5:361a99976cc9 "F"
479 rebasing 5:361a99976cc9 "F"
480 HGEDITFORM=rebase.merge
480 HGEDITFORM=rebase.merge
481 rebasing 8:326cfedc031c "I" (tip)
481 rebasing 8:326cfedc031c tip "I"
482 HGEDITFORM=rebase.normal
482 HGEDITFORM=rebase.normal
483 saved backup bundle to $TESTTMP/a3/c4/.hg/strip-backup/361a99976cc9-35e980d0-rebase.hg
483 saved backup bundle to $TESTTMP/a3/c4/.hg/strip-backup/361a99976cc9-35e980d0-rebase.hg
@@ -123,7 +123,7 b' Rebase F onto E - check keepbranches:'
123 o 0:draft 'A'
123 o 0:draft 'A'
124
124
125 $ hg rebase -s 5 -d 4 --keepbranches
125 $ hg rebase -s 5 -d 4 --keepbranches
126 rebasing 5:01e6ebbd8272 "F" (tip)
126 rebasing 5:01e6ebbd8272 tip "F"
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')
@@ -137,7 +137,7 b' Solve the conflict and go on:'
137 (no more unresolved files)
137 (no more unresolved files)
138 continue: hg rebase --continue
138 continue: hg rebase --continue
139 $ hg rebase --continue
139 $ hg rebase --continue
140 rebasing 5:01e6ebbd8272 "F" (tip)
140 rebasing 5:01e6ebbd8272 tip "F"
141 saved backup bundle to $TESTTMP/a2/.hg/strip-backup/01e6ebbd8272-6fd3a015-rebase.hg
141 saved backup bundle to $TESTTMP/a2/.hg/strip-backup/01e6ebbd8272-6fd3a015-rebase.hg
142
142
143 $ hg tglog
143 $ hg tglog
@@ -35,9 +35,9 b' Highest phase of source commits is used:'
35 > echo "edited manually" >> \$1
35 > echo "edited manually" >> \$1
36 > EOF
36 > EOF
37 $ HGEDITOR="sh $TESTTMP/editor.sh" hg rebase --collapse --keepbranches -e --source B --dest F
37 $ HGEDITOR="sh $TESTTMP/editor.sh" hg rebase --collapse --keepbranches -e --source B --dest F
38 rebasing 1:112478962961 "B" (B)
38 rebasing 1:112478962961 B "B"
39 rebasing 3:26805aba1e60 "C" (C)
39 rebasing 3:26805aba1e60 C "C"
40 rebasing 5:f585351a92f8 "D" (D tip)
40 rebasing 5:f585351a92f8 D tip "D"
41 ==== before editing
41 ==== before editing
42 Collapsed revision
42 Collapsed revision
43 * B
43 * B
@@ -96,8 +96,8 b' Merge gets linearized:'
96
96
97 $ hg phase --force --secret D
97 $ hg phase --force --secret D
98 $ hg rebase --source B --collapse --dest F
98 $ hg rebase --source B --collapse --dest F
99 rebasing 1:112478962961 "B" (B)
99 rebasing 1:112478962961 B "B"
100 rebasing 3:4e4f9194f9f1 "D" (D)
100 rebasing 3:4e4f9194f9f1 D "D"
101 saved backup bundle to $TESTTMP/linearized-merge/.hg/strip-backup/112478962961-e389075b-rebase.hg
101 saved backup bundle to $TESTTMP/linearized-merge/.hg/strip-backup/112478962961-e389075b-rebase.hg
102
102
103 $ hg tglog
103 $ hg tglog
@@ -141,8 +141,8 b' Custom message:'
141 > true
141 > true
142 > EOF
142 > EOF
143 $ HGEDITOR="sh $TESTTMP/checkeditform.sh" hg rebase --source B --collapse -m 'custom message' -e --dest D
143 $ HGEDITOR="sh $TESTTMP/checkeditform.sh" hg rebase --source B --collapse -m 'custom message' -e --dest D
144 rebasing 1:112478962961 "B" (B)
144 rebasing 1:112478962961 B "B"
145 rebasing 3:26805aba1e60 "C" (C tip)
145 rebasing 3:26805aba1e60 C tip "C"
146 HGEDITFORM=rebase.collapse
146 HGEDITFORM=rebase.collapse
147 saved backup bundle to $TESTTMP/message/.hg/strip-backup/112478962961-f4131707-rebase.hg
147 saved backup bundle to $TESTTMP/message/.hg/strip-backup/112478962961-f4131707-rebase.hg
148
148
@@ -185,9 +185,9 b' Rebase and collapse - more than one exte'
185 Rebase and collapse - E onto H:
185 Rebase and collapse - E onto H:
186
186
187 $ hg rebase -s E --dest H --collapse # root (E) is not a merge
187 $ hg rebase -s E --dest H --collapse # root (E) is not a merge
188 rebasing 5:49cb92066bfd "E" (E)
188 rebasing 5:49cb92066bfd E "E"
189 rebasing 6:11abe3fb10b8 "F" (F)
189 rebasing 6:11abe3fb10b8 F "F"
190 rebasing 7:64e264db77f0 "G" (G tip)
190 rebasing 7:64e264db77f0 G tip "G"
191 saved backup bundle to $TESTTMP/multiple-external-parents/.hg/strip-backup/49cb92066bfd-ee8a8a79-rebase.hg
191 saved backup bundle to $TESTTMP/multiple-external-parents/.hg/strip-backup/49cb92066bfd-ee8a8a79-rebase.hg
192
192
193 $ hg tglog
193 $ hg tglog
@@ -287,7 +287,7 b' Preserves external parent'
287 > EOF
287 > EOF
288
288
289 $ hg rebase -s F --dest I --collapse # root (F) is not a merge
289 $ hg rebase -s F --dest I --collapse # root (F) is not a merge
290 rebasing 6:c82b08f646f1 "F" (F)
290 rebasing 6:c82b08f646f1 F "F"
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
@@ -299,9 +299,9 b' Preserves external parent'
299 (no more unresolved files)
299 (no more unresolved files)
300 continue: hg rebase --continue
300 continue: hg rebase --continue
301 $ hg rebase -c
301 $ hg rebase -c
302 rebasing 6:c82b08f646f1 "F" (F)
302 rebasing 6:c82b08f646f1 F "F"
303 rebasing 7:a6db7fa104e1 "G" (G)
303 rebasing 7:a6db7fa104e1 G "G"
304 rebasing 8:e1d201b72d91 "H" (H tip)
304 rebasing 8:e1d201b72d91 H tip "H"
305 saved backup bundle to $TESTTMP/external-parent/.hg/strip-backup/c82b08f646f1-f2721fbf-rebase.hg
305 saved backup bundle to $TESTTMP/external-parent/.hg/strip-backup/c82b08f646f1-f2721fbf-rebase.hg
306
306
307 $ hg tglog
307 $ hg tglog
@@ -347,8 +347,8 b' Rebasing from multiple bases:'
347 > A
347 > A
348 > EOF
348 > EOF
349 $ hg rebase --collapse -r 'B+C' -d D
349 $ hg rebase --collapse -r 'B+C' -d D
350 rebasing 1:fc2b737bb2e5 "B" (B)
350 rebasing 1:fc2b737bb2e5 B "B"
351 rebasing 2:dc0947a82db8 "C" (C)
351 rebasing 2:dc0947a82db8 C "C"
352 saved backup bundle to $TESTTMP/multiple-bases/.hg/strip-backup/dc0947a82db8-b0c1a7ea-rebase.hg
352 saved backup bundle to $TESTTMP/multiple-bases/.hg/strip-backup/dc0947a82db8-b0c1a7ea-rebase.hg
353 $ hg tglog
353 $ hg tglog
354 o 2: 2127ae44d291 'Collapsed revision
354 o 2: 2127ae44d291 'Collapsed revision
@@ -424,10 +424,10 b' With internal merge:'
424
424
425
425
426 $ hg rebase -s B --collapse --dest F
426 $ hg rebase -s B --collapse --dest F
427 rebasing 1:112478962961 "B" (B)
427 rebasing 1:112478962961 B "B"
428 rebasing 3:26805aba1e60 "C" (C)
428 rebasing 3:26805aba1e60 C "C"
429 rebasing 4:be0ef73c17ad "D" (D)
429 rebasing 4:be0ef73c17ad D "D"
430 rebasing 5:02c4367d6973 "E" (E tip)
430 rebasing 5:02c4367d6973 E tip "E"
431 saved backup bundle to $TESTTMP/internal-merge/.hg/strip-backup/112478962961-1dfb057b-rebase.hg
431 saved backup bundle to $TESTTMP/internal-merge/.hg/strip-backup/112478962961-1dfb057b-rebase.hg
432
432
433 $ hg tglog
433 $ hg tglog
@@ -514,7 +514,7 b' Rebase, collapse and copies'
514 merging a and d to d
514 merging a and d to d
515 merging b and e to e
515 merging b and e to e
516 merging c and f to f
516 merging c and f to f
517 rebasing 3:338e84e2e558 "move2" (tip)
517 rebasing 3:338e84e2e558 tip "move2"
518 merging f and c to c
518 merging f and c to c
519 merging e and g to g
519 merging e and g to g
520 saved backup bundle to $TESTTMP/copies/.hg/strip-backup/6e7340ee38c0-ef8ef003-rebase.hg
520 saved backup bundle to $TESTTMP/copies/.hg/strip-backup/6e7340ee38c0-ef8ef003-rebase.hg
@@ -557,7 +557,7 b' Test collapsing in place'
557
557
558 $ hg rebase --collapse -b . -d 0
558 $ hg rebase --collapse -b . -d 0
559 rebasing 1:1352765a01d4 "change"
559 rebasing 1:1352765a01d4 "change"
560 rebasing 2:64b456429f67 "Collapsed revision" (tip)
560 rebasing 2:64b456429f67 tip "Collapsed revision"
561 saved backup bundle to $TESTTMP/copies/.hg/strip-backup/1352765a01d4-45a352ea-rebase.hg
561 saved backup bundle to $TESTTMP/copies/.hg/strip-backup/1352765a01d4-45a352ea-rebase.hg
562 $ hg st --change tip --copies
562 $ hg st --change tip --copies
563 M a
563 M a
@@ -631,7 +631,7 b' Test collapsing changes that add then re'
631 $ hg book foo
631 $ hg book foo
632 $ hg rebase -d 0 -r "1::2" --collapse -m collapsed
632 $ hg rebase -d 0 -r "1::2" --collapse -m collapsed
633 rebasing 1:6d8d9f24eec3 "a"
633 rebasing 1:6d8d9f24eec3 "a"
634 rebasing 2:1cc73eca5ecc "b" (foo tip)
634 rebasing 2:1cc73eca5ecc tip foo "b"
635 saved backup bundle to $TESTTMP/collapseaddremove/.hg/strip-backup/6d8d9f24eec3-77d3b6e2-rebase.hg
635 saved backup bundle to $TESTTMP/collapseaddremove/.hg/strip-backup/6d8d9f24eec3-77d3b6e2-rebase.hg
636 $ hg log -G --template "{rev}: '{desc}' {bookmarks}"
636 $ hg log -G --template "{rev}: '{desc}' {bookmarks}"
637 @ 1: 'collapsed' foo
637 @ 1: 'collapsed' foo
@@ -655,7 +655,7 b' running into merge conflict and invoking'
655 > A
655 > A
656 > EOF
656 > EOF
657 $ hg rebase --collapse -m "new message" -b B -d C
657 $ hg rebase --collapse -m "new message" -b B -d C
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')
@@ -665,7 +665,7 b' running into merge conflict and invoking'
665 (no more unresolved files)
665 (no more unresolved files)
666 continue: hg rebase --continue
666 continue: hg rebase --continue
667 $ hg rebase --continue
667 $ hg rebase --continue
668 rebasing 1:81e5401e4d37 "B" (B)
668 rebasing 1:81e5401e4d37 B "B"
669 saved backup bundle to $TESTTMP/collapse_remember_message/.hg/strip-backup/81e5401e4d37-96c3dd30-rebase.hg
669 saved backup bundle to $TESTTMP/collapse_remember_message/.hg/strip-backup/81e5401e4d37-96c3dd30-rebase.hg
670 $ hg log
670 $ hg log
671 changeset: 2:17186933e123
671 changeset: 2:17186933e123
@@ -702,7 +702,7 b' Test aborted editor on final message'
702 > A
702 > A
703 > EOF
703 > EOF
704 $ hg rebase --collapse -t internal:merge3 -s B -d D
704 $ hg rebase --collapse -t internal:merge3 -s B -d D
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')
@@ -729,8 +729,8 b' Test aborted editor on final message'
729 (no more unresolved files)
729 (no more unresolved files)
730 continue: hg rebase --continue
730 continue: hg rebase --continue
731 $ hg rebase --continue
731 $ hg rebase --continue
732 rebasing 1:f899f3910ce7 "B" (B)
732 rebasing 1:f899f3910ce7 B "B"
733 rebasing 3:63668d570d21 "C" (C tip)
733 rebasing 3:63668d570d21 C tip "C"
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')
@@ -757,8 +757,8 b' Test aborted editor on final message'
757 (no more unresolved files)
757 (no more unresolved files)
758 continue: hg rebase --continue
758 continue: hg rebase --continue
759 $ HGEDITOR=false hg rebase --continue --config ui.interactive=1
759 $ HGEDITOR=false hg rebase --continue --config ui.interactive=1
760 already rebased 1:f899f3910ce7 "B" (B) as 82b8abf9c185
760 already rebased 1:f899f3910ce7 B "B" as 82b8abf9c185
761 rebasing 3:63668d570d21 "C" (C tip)
761 rebasing 3:63668d570d21 C tip "C"
762 abort: edit failed: false exited with status 1
762 abort: edit failed: false exited with status 1
763 [255]
763 [255]
764 $ hg tglog
764 $ hg tglog
@@ -771,6 +771,6 b' Test aborted editor on final message'
771 o 0: 4a2df7238c3b 'A'
771 o 0: 4a2df7238c3b 'A'
772
772
773 $ hg rebase --continue
773 $ hg rebase --continue
774 already rebased 1:f899f3910ce7 "B" (B) as 82b8abf9c185
774 already rebased 1:f899f3910ce7 B "B" as 82b8abf9c185
775 already rebased 3:63668d570d21 "C" (C tip) as 82b8abf9c185
775 already rebased 3:63668d570d21 C tip "C" as 82b8abf9c185
776 saved backup bundle to $TESTTMP/aborted-editor/.hg/strip-backup/f899f3910ce7-7cab5e15-rebase.hg
776 saved backup bundle to $TESTTMP/aborted-editor/.hg/strip-backup/f899f3910ce7-7cab5e15-rebase.hg
@@ -100,7 +100,7 b' Conclude rebase:'
100 $ hg rebase --continue
100 $ hg rebase --continue
101 already rebased 3:3163e20567cc "L1" as 3e046f2ecedb
101 already rebased 3:3163e20567cc "L1" as 3e046f2ecedb
102 rebasing 4:46f0b057b5c0 "L2"
102 rebasing 4:46f0b057b5c0 "L2"
103 rebasing 5:8029388f38dc "L3" (mybook)
103 rebasing 5:8029388f38dc mybook "L3"
104 saved backup bundle to $TESTTMP/a/.hg/strip-backup/3163e20567cc-5ca4656e-rebase.hg
104 saved backup bundle to $TESTTMP/a/.hg/strip-backup/3163e20567cc-5ca4656e-rebase.hg
105
105
106 $ hg tglog
106 $ hg tglog
@@ -261,7 +261,7 b' Check that the right ancestors is used w'
261 updating the branch cache
261 updating the branch cache
262 rebased as 19c888675e13
262 rebased as 19c888675e13
263 rebase status stored
263 rebase status stored
264 rebasing 10:2f2496ddf49d "merge" (tip)
264 rebasing 10:2f2496ddf49d tip "merge"
265 future parents are 11 and 7
265 future parents are 11 and 7
266 already in destination
266 already in destination
267 merge against 10:2f2496ddf49d
267 merge against 10:2f2496ddf49d
@@ -341,7 +341,7 b' Test minimization of merge conflicts'
341 $ echo c >> a
341 $ echo c >> a
342 $ hg commit -q -m 'abc'
342 $ hg commit -q -m 'abc'
343 $ hg rebase -s 7bc217434fc1 -d ab --keep
343 $ hg rebase -s 7bc217434fc1 -d ab --keep
344 rebasing 13:7bc217434fc1 "abc" (tip)
344 rebasing 13:7bc217434fc1 tip "abc"
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')
@@ -361,7 +361,7 b' Test minimization of merge conflicts'
361 rebase aborted
361 rebase aborted
362 $ hg up -q -C 7bc217434fc1
362 $ hg up -q -C 7bc217434fc1
363 $ hg rebase -s . -d ab --keep -t internal:merge3
363 $ hg rebase -s . -d ab --keep -t internal:merge3
364 rebasing 13:7bc217434fc1 "abc" (tip)
364 rebasing 13:7bc217434fc1 tip "abc"
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')
@@ -399,7 +399,7 b' Test rebase with obsstore turned on and '
399 $ echo 3 > B
399 $ echo 3 > B
400 $ hg commit --amend -m E -A B -q
400 $ hg commit --amend -m E -A B -q
401 $ hg rebase -r B+D -d . --config experimental.evolution=true
401 $ hg rebase -r B+D -d . --config experimental.evolution=true
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')
@@ -410,8 +410,8 b' Test rebase with obsstore turned on and '
410 (no more unresolved files)
410 (no more unresolved files)
411 continue: hg rebase --continue
411 continue: hg rebase --continue
412 $ hg rebase --continue --config experimental.evolution=none
412 $ hg rebase --continue --config experimental.evolution=none
413 rebasing 1:112478962961 "B" (B)
413 rebasing 1:112478962961 B "B"
414 rebasing 3:f585351a92f8 "D" (D)
414 rebasing 3:f585351a92f8 D "D"
415 warning: orphaned descendants detected, not stripping 112478962961
415 warning: orphaned descendants detected, not stripping 112478962961
416 saved backup bundle to $TESTTMP/b/.hg/strip-backup/f585351a92f8-e536a9e4-rebase.hg
416 saved backup bundle to $TESTTMP/b/.hg/strip-backup/f585351a92f8-e536a9e4-rebase.hg
417
417
@@ -448,10 +448,10 b' Test where the conflict happens when reb'
448 $ hg co F
448 $ hg co F
449 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
449 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
450 $ hg rebase -d B
450 $ hg rebase -d B
451 rebasing 2:dc0947a82db8 "C" (C)
451 rebasing 2:dc0947a82db8 C "C"
452 rebasing 3:e7b3f00ed42e "D" (D)
452 rebasing 3:e7b3f00ed42e D "D"
453 rebasing 4:03ca77807e91 "E" (E)
453 rebasing 4:03ca77807e91 E "E"
454 rebasing 5:9a6b91dc2044 "F" (F tip)
454 rebasing 5:9a6b91dc2044 F tip "F"
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')
@@ -480,10 +480,10 b' Test where the conflict happens when reb'
480 (no more unresolved files)
480 (no more unresolved files)
481 continue: hg rebase --continue
481 continue: hg rebase --continue
482 $ hg rebase -c
482 $ hg rebase -c
483 already rebased 2:dc0947a82db8 "C" (C) as 0199610c343e
483 already rebased 2:dc0947a82db8 C "C" as 0199610c343e
484 already rebased 3:e7b3f00ed42e "D" (D) as f0dd538aaa63
484 already rebased 3:e7b3f00ed42e D "D" as f0dd538aaa63
485 already rebased 4:03ca77807e91 "E" (E) as cbf25af8347d
485 already rebased 4:03ca77807e91 E "E" as cbf25af8347d
486 rebasing 5:9a6b91dc2044 "F" (F)
486 rebasing 5:9a6b91dc2044 F "F"
487 saved backup bundle to $TESTTMP/conflict-in-merge/.hg/strip-backup/dc0947a82db8-ca7e7d5b-rebase.hg
487 saved backup bundle to $TESTTMP/conflict-in-merge/.hg/strip-backup/dc0947a82db8-ca7e7d5b-rebase.hg
488 $ hg tglog
488 $ hg tglog
489 @ 5:draft 'F'
489 @ 5:draft 'F'
@@ -20,15 +20,15 b' Require a destination'
20 (use: hg rebase -d REV)
20 (use: hg rebase -d REV)
21 [255]
21 [255]
22 $ hg rebase -d 1
22 $ hg rebase -d 1
23 rebasing 2:5db65b93a12b "cc" (tip)
23 rebasing 2:5db65b93a12b tip "cc"
24 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/5db65b93a12b-4fb789ec-rebase.hg
24 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/5db65b93a12b-4fb789ec-rebase.hg
25 $ hg rebase -d 0 -r . -q
25 $ hg rebase -d 0 -r . -q
26 $ HGPLAIN=1 hg rebase
26 $ HGPLAIN=1 hg rebase
27 rebasing 2:889b0bc6a730 "cc" (tip)
27 rebasing 2:889b0bc6a730 tip "cc"
28 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/889b0bc6a730-41ec4f81-rebase.hg
28 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/889b0bc6a730-41ec4f81-rebase.hg
29 $ hg rebase -d 0 -r . -q
29 $ hg rebase -d 0 -r . -q
30 $ hg --config commands.rebase.requiredest=False rebase
30 $ hg --config commands.rebase.requiredest=False rebase
31 rebasing 2:279de9495438 "cc" (tip)
31 rebasing 2:279de9495438 tip "cc"
32 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/279de9495438-ab0a5128-rebase.hg
32 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/279de9495438-ab0a5128-rebase.hg
33
33
34 Requiring dest should not break continue or other rebase options
34 Requiring dest should not break continue or other rebase options
@@ -45,7 +45,7 b' Requiring dest should not break continue'
45 o 0 aa
45 o 0 aa
46
46
47 $ hg rebase -d 2
47 $ hg rebase -d 2
48 rebasing 3:0537f6b50def "dc" (tip)
48 rebasing 3:0537f6b50def tip "dc"
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')
@@ -55,7 +55,7 b' Requiring dest should not break continue'
55 (no more unresolved files)
55 (no more unresolved files)
56 continue: hg rebase --continue
56 continue: hg rebase --continue
57 $ hg rebase --continue
57 $ hg rebase --continue
58 rebasing 3:0537f6b50def "dc" (tip)
58 rebasing 3:0537f6b50def tip "dc"
59 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/0537f6b50def-be4c7386-rebase.hg
59 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/0537f6b50def-be4c7386-rebase.hg
60
60
61 $ cd ..
61 $ cd ..
@@ -171,9 +171,9 b' Rebase to null should work:'
171 > | |
171 > | |
172 > A B
172 > A B
173 > EOS
173 > EOS
174 already rebased 0:426bada5c675 "A" (A)
174 already rebased 0:426bada5c675 A "A"
175 already rebased 2:dc0947a82db8 "C" (C)
175 already rebased 2:dc0947a82db8 C "C"
176 rebasing 3:004dc1679908 "D" (D tip)
176 rebasing 3:004dc1679908 D tip "D"
177 o 4: d8d8601abd5e D
177 o 4: d8d8601abd5e D
178
178
179 o 2: dc0947a82db8 C
179 o 2: dc0947a82db8 C
@@ -227,10 +227,10 b' Switch roots:'
227 > | |
227 > | |
228 > A D
228 > A D
229 > EOS
229 > EOS
230 rebasing 2:112478962961 "B" (B)
230 rebasing 2:112478962961 B "B"
231 rebasing 4:26805aba1e60 "C" (C)
231 rebasing 4:26805aba1e60 C "C"
232 rebasing 3:cd488e83d208 "E" (E)
232 rebasing 3:cd488e83d208 E "E"
233 rebasing 5:0069ba24938a "F" (F tip)
233 rebasing 5:0069ba24938a F tip "F"
234 o 9: d150ff263fc8 F
234 o 9: d150ff263fc8 F
235 |
235 |
236 o 8: 66f30a1a2eab E
236 o 8: 66f30a1a2eab E
@@ -254,8 +254,8 b' Different destinations for merge changes'
254 > |\|
254 > |\|
255 > A D
255 > A D
256 > EOS
256 > EOS
257 rebasing 3:a4256619d830 "B" (B)
257 rebasing 3:a4256619d830 B "B"
258 rebasing 6:8e139e245220 "C" (C tip)
258 rebasing 6:8e139e245220 C tip "C"
259 o 8: d7d1169e9b1c C
259 o 8: d7d1169e9b1c C
260 |\
260 |\
261 | o 7: 2ed0c8546285 B
261 | o 7: 2ed0c8546285 B
@@ -283,9 +283,9 b' Move to a previous parent:'
283 > |/
283 > |/
284 > A
284 > A
285 > EOS
285 > EOS
286 rebasing 4:33441538d4aa "F" (F)
286 rebasing 4:33441538d4aa F "F"
287 rebasing 6:cf43ad9da869 "G" (G)
287 rebasing 6:cf43ad9da869 G "G"
288 rebasing 7:eef94f3b5f03 "H" (H tip)
288 rebasing 7:eef94f3b5f03 H tip "H"
289 o 10: b3d84c6666cf H
289 o 10: b3d84c6666cf H
290 |
290 |
291 | o 5: f585351a92f8 D
291 | o 5: f585351a92f8 D
@@ -309,8 +309,8 b' Source overlaps with destination:'
309 > \|/
309 > \|/
310 > A
310 > A
311 > EOS
311 > EOS
312 rebasing 2:dc0947a82db8 "C" (C)
312 rebasing 2:dc0947a82db8 C "C"
313 rebasing 1:112478962961 "B" (B)
313 rebasing 1:112478962961 B "B"
314 o 5: 5fe9935d5222 B
314 o 5: 5fe9935d5222 B
315 |
315 |
316 o 4: 12d20731b9e0 C
316 o 4: 12d20731b9e0 C
@@ -352,11 +352,11 b' Detect source is ancestor of dest in run'
352 > \|/
352 > \|/
353 > A
353 > A
354 > EOS
354 > EOS
355 already rebased 1:112478962961 "B" (B)
355 already rebased 1:112478962961 B "B"
356 already rebased 2:dc0947a82db8 "C" (C)
356 already rebased 2:dc0947a82db8 C "C"
357 already rebased 3:b18e25de2cf5 "D" (D)
357 already rebased 3:b18e25de2cf5 D "D"
358 already rebased 4:312782b8f06e "E" (E)
358 already rebased 4:312782b8f06e E "E"
359 already rebased 5:ad6717a6a58e "F" (F tip)
359 already rebased 5:ad6717a6a58e F tip "F"
360 o 5: ad6717a6a58e F
360 o 5: ad6717a6a58e F
361 |
361 |
362 o 3: b18e25de2cf5 D
362 o 3: b18e25de2cf5 D
@@ -380,17 +380,17 b' Massively rewrite the DAG:'
380 > \| |
380 > \| |
381 > A H
381 > A H
382 > EOS
382 > EOS
383 rebasing 4:701514e1408d "I" (I)
383 rebasing 4:701514e1408d I "I"
384 rebasing 0:426bada5c675 "A" (A)
384 rebasing 0:426bada5c675 A "A"
385 rebasing 1:e7050b6e5048 "H" (H)
385 rebasing 1:e7050b6e5048 H "H"
386 rebasing 5:26805aba1e60 "C" (C)
386 rebasing 5:26805aba1e60 C "C"
387 rebasing 7:cf89f86b485b "J" (J)
387 rebasing 7:cf89f86b485b J "J"
388 rebasing 2:112478962961 "B" (B)
388 rebasing 2:112478962961 B "B"
389 rebasing 3:7fb047a69f22 "E" (E)
389 rebasing 3:7fb047a69f22 E "E"
390 rebasing 8:f585351a92f8 "D" (D)
390 rebasing 8:f585351a92f8 D "D"
391 rebasing 10:ae41898d7875 "K" (K tip)
391 rebasing 10:ae41898d7875 K tip "K"
392 rebasing 9:711f53bbef0b "G" (G)
392 rebasing 9:711f53bbef0b G "G"
393 rebasing 6:64a8289d2492 "F" (F)
393 rebasing 6:64a8289d2492 F "F"
394 o 21: 3735afb3713a F
394 o 21: 3735afb3713a F
395 |
395 |
396 o 20: 07698142d7a7 G
396 o 20: 07698142d7a7 G
@@ -433,12 +433,12 b' Resolve instability:'
433 > A
433 > A
434 > EOF
434 > EOF
435 6 new orphan changesets
435 6 new orphan changesets
436 rebasing 16:5c432343bf59 "J" (J tip)
436 rebasing 16:5c432343bf59 J tip "J"
437 rebasing 3:26805aba1e60 "C" (C)
437 rebasing 3:26805aba1e60 C "C"
438 rebasing 6:f585351a92f8 "D" (D)
438 rebasing 6:f585351a92f8 D "D"
439 rebasing 10:ffebc37c5d0b "E3" (E3)
439 rebasing 10:ffebc37c5d0b E3 "E3"
440 rebasing 13:fb184bcfeee8 "F2" (F2)
440 rebasing 13:fb184bcfeee8 F2 "F2"
441 rebasing 11:dc838ab4c0da "G" (G)
441 rebasing 11:dc838ab4c0da G "G"
442 o 22: 174f63d574a8 G
442 o 22: 174f63d574a8 G
443 |
443 |
444 o 21: c9d9fbe76705 F2
444 o 21: c9d9fbe76705 F2
@@ -24,7 +24,7 b' Rebasing D onto B detaching from C (one '
24 $ hg phase --force --secret D
24 $ hg phase --force --secret D
25
25
26 $ hg rebase -s D -d B
26 $ hg rebase -s D -d B
27 rebasing 3:e7b3f00ed42e "D" (D tip)
27 rebasing 3:e7b3f00ed42e D tip "D"
28 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/e7b3f00ed42e-6f368371-rebase.hg
28 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/e7b3f00ed42e-6f368371-rebase.hg
29
29
30 $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n"
30 $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n"
@@ -60,8 +60,8 b' Rebasing D onto B detaching from C (two '
60 > EOF
60 > EOF
61
61
62 $ hg rebase -s D -d B
62 $ hg rebase -s D -d B
63 rebasing 3:e7b3f00ed42e "D" (D)
63 rebasing 3:e7b3f00ed42e D "D"
64 rebasing 4:69a34c08022a "E" (E tip)
64 rebasing 4:69a34c08022a E tip "E"
65 saved backup bundle to $TESTTMP/a2/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg
65 saved backup bundle to $TESTTMP/a2/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg
66
66
67 $ hg tglog
67 $ hg tglog
@@ -97,8 +97,8 b' Rebasing C onto B using detach (same as '
97 > EOF
97 > EOF
98
98
99 $ hg rebase -s C -d B
99 $ hg rebase -s C -d B
100 rebasing 2:dc0947a82db8 "C" (C)
100 rebasing 2:dc0947a82db8 C "C"
101 rebasing 3:e7b3f00ed42e "D" (D tip)
101 rebasing 3:e7b3f00ed42e D tip "D"
102 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/dc0947a82db8-b8481714-rebase.hg
102 saved backup bundle to $TESTTMP/a3/.hg/strip-backup/dc0947a82db8-b8481714-rebase.hg
103
103
104 $ hg tglog
104 $ hg tglog
@@ -136,8 +136,8 b' Rebasing D onto B detaching from C and c'
136 $ hg phase --force --secret E
136 $ hg phase --force --secret E
137
137
138 $ hg rebase --collapse -s D -d B
138 $ hg rebase --collapse -s D -d B
139 rebasing 3:e7b3f00ed42e "D" (D)
139 rebasing 3:e7b3f00ed42e D "D"
140 rebasing 4:69a34c08022a "E" (E tip)
140 rebasing 4:69a34c08022a E tip "E"
141 saved backup bundle to $TESTTMP/a4/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg
141 saved backup bundle to $TESTTMP/a4/.hg/strip-backup/e7b3f00ed42e-a2ec7cea-rebase.hg
142
142
143 $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n"
143 $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n"
@@ -173,9 +173,9 b' Rebasing across null as ancestor'
173 > EOF
173 > EOF
174
174
175 $ hg rebase -s C -d B
175 $ hg rebase -s C -d B
176 rebasing 2:dc0947a82db8 "C" (C)
176 rebasing 2:dc0947a82db8 C "C"
177 rebasing 3:e7b3f00ed42e "D" (D)
177 rebasing 3:e7b3f00ed42e D "D"
178 rebasing 4:69a34c08022a "E" (E tip)
178 rebasing 4:69a34c08022a E tip "E"
179 saved backup bundle to $TESTTMP/a5/.hg/strip-backup/dc0947a82db8-3eefec98-rebase.hg
179 saved backup bundle to $TESTTMP/a5/.hg/strip-backup/dc0947a82db8-3eefec98-rebase.hg
180
180
181 $ hg tglog
181 $ hg tglog
@@ -191,7 +191,7 b' Rebasing across null as ancestor'
191
191
192 $ hg rebase -d 1 -s 3
192 $ hg rebase -d 1 -s 3
193 rebasing 3:e9153d36a1af "D"
193 rebasing 3:e9153d36a1af "D"
194 rebasing 4:e3d0c70d606d "E" (tip)
194 rebasing 4:e3d0c70d606d tip "E"
195 saved backup bundle to $TESTTMP/a5/.hg/strip-backup/e9153d36a1af-db7388ed-rebase.hg
195 saved backup bundle to $TESTTMP/a5/.hg/strip-backup/e9153d36a1af-db7388ed-rebase.hg
196 $ hg tglog
196 $ hg tglog
197 o 4: 2c24e540eccd 'E'
197 o 4: 2c24e540eccd 'E'
@@ -248,9 +248,9 b' Verify that target is not selected as ex'
248 o 0: 426bada5c675 'A'
248 o 0: 426bada5c675 'A'
249
249
250 $ hg rebase -s I -d H --collapse --config ui.merge=internal:other
250 $ hg rebase -s I -d H --collapse --config ui.merge=internal:other
251 rebasing 5:b92d164ad3cb "I" (I)
251 rebasing 5:b92d164ad3cb I "I"
252 rebasing 6:0cfbc7e8faaf "Merge"
252 rebasing 6:0cfbc7e8faaf "Merge"
253 rebasing 7:c6aaf0d259c0 "J" (tip)
253 rebasing 7:c6aaf0d259c0 tip "J"
254 saved backup bundle to $TESTTMP/a6/.hg/strip-backup/b92d164ad3cb-88fd7ab7-rebase.hg
254 saved backup bundle to $TESTTMP/a6/.hg/strip-backup/b92d164ad3cb-88fd7ab7-rebase.hg
255
255
256 $ hg tglog
256 $ hg tglog
@@ -294,7 +294,7 b' Ensure --continue restores a correct sta'
294 adding B
294 adding B
295 $ hg phase --force --secret .
295 $ hg phase --force --secret .
296 $ hg rebase -s . -d B --config ui.merge=internal:merge
296 $ hg rebase -s . -d B --config ui.merge=internal:merge
297 rebasing 3:17b4880d2402 "B2" (tip)
297 rebasing 3:17b4880d2402 tip "B2"
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')
@@ -303,8 +303,8 b' Ensure --continue restores a correct sta'
303 (no more unresolved files)
303 (no more unresolved files)
304 continue: hg rebase --continue
304 continue: hg rebase --continue
305 $ hg rebase -c
305 $ hg rebase -c
306 rebasing 3:17b4880d2402 "B2" (tip)
306 rebasing 3:17b4880d2402 tip "B2"
307 note: not rebasing 3:17b4880d2402 "B2" (tip), its destination already has all its changes
307 note: not rebasing 3:17b4880d2402 tip "B2", its destination already has all its changes
308 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/17b4880d2402-1ae1f6cc-rebase.hg
308 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/17b4880d2402-1ae1f6cc-rebase.hg
309 $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n"
309 $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n"
310 o 2:draft 'C'
310 o 2:draft 'C'
@@ -24,15 +24,15 b' With rewrite.empty-successor=skip, b2 is'
24
24
25 $ hg rebase -s 2 -d 1 --config rewrite.empty-successor=skip --dry-run
25 $ hg rebase -s 2 -d 1 --config rewrite.empty-successor=skip --dry-run
26 starting dry-run rebase; repository will not be changed
26 starting dry-run rebase; repository will not be changed
27 rebasing 2:6e2aad5e0f3c "b2" (tip)
27 rebasing 2:6e2aad5e0f3c tip "b2"
28 note: not rebasing 2:6e2aad5e0f3c "b2" (tip), its destination already has all its changes
28 note: not rebasing 2:6e2aad5e0f3c tip "b2", its destination already has all its changes
29 dry-run rebase completed successfully; run without -n/--dry-run to perform this rebase
29 dry-run rebase completed successfully; run without -n/--dry-run to perform this rebase
30
30
31 With rewrite.empty-successor=keep, b2 will be recreated although it became empty.
31 With rewrite.empty-successor=keep, b2 will be recreated although it became empty.
32
32
33 $ hg rebase -s 2 -d 1 --config rewrite.empty-successor=keep
33 $ hg rebase -s 2 -d 1 --config rewrite.empty-successor=keep
34 rebasing 2:6e2aad5e0f3c "b2" (tip)
34 rebasing 2:6e2aad5e0f3c tip "b2"
35 note: created empty successor for 2:6e2aad5e0f3c "b2" (tip), its destination already has all its changes
35 note: created empty successor for 2:6e2aad5e0f3c tip "b2", its destination already has all its changes
36 saved backup bundle to $TESTTMP/.hg/strip-backup/6e2aad5e0f3c-7d7c8801-rebase.hg
36 saved backup bundle to $TESTTMP/.hg/strip-backup/6e2aad5e0f3c-7d7c8801-rebase.hg
37
37
38 $ hg tglog
38 $ hg tglog
@@ -50,10 +50,10 b''
50 With --keep, bookmark should move
50 With --keep, bookmark should move
51
51
52 $ hg rebase -r 3+4 -d E --keep
52 $ hg rebase -r 3+4 -d E --keep
53 rebasing 3:e7b3f00ed42e "D" (BOOK-D)
53 rebasing 3:e7b3f00ed42e BOOK-D "D"
54 note: not rebasing 3:e7b3f00ed42e "D" (BOOK-D), its destination already has all its changes
54 note: not rebasing 3:e7b3f00ed42e BOOK-D "D", its destination already has all its changes
55 rebasing 4:69a34c08022a "E" (BOOK-E)
55 rebasing 4:69a34c08022a BOOK-E "E"
56 note: not rebasing 4:69a34c08022a "E" (BOOK-E), its destination already has all its changes
56 note: not rebasing 4:69a34c08022a BOOK-E "E", its destination already has all its changes
57 $ hg log -G -T '{rev} {desc} {bookmarks}'
57 $ hg log -G -T '{rev} {desc} {bookmarks}'
58 o 7 E BOOK-D BOOK-E
58 o 7 E BOOK-D BOOK-E
59 |
59 |
@@ -82,12 +82,12 b' still introduced by an ancestor of chang'
82 "BOOK-D", and "BOOK-E" include changes introduced by "C".
82 "BOOK-D", and "BOOK-E" include changes introduced by "C".
83
83
84 $ hg rebase -s 2 -d E
84 $ hg rebase -s 2 -d E
85 rebasing 2:dc0947a82db8 "C" (BOOK-C C)
85 rebasing 2:dc0947a82db8 C BOOK-C "C"
86 rebasing 3:e7b3f00ed42e "D" (BOOK-D)
86 rebasing 3:e7b3f00ed42e BOOK-D "D"
87 note: not rebasing 3:e7b3f00ed42e "D" (BOOK-D), its destination already has all its changes
87 note: not rebasing 3:e7b3f00ed42e BOOK-D "D", its destination already has all its changes
88 rebasing 4:69a34c08022a "E" (BOOK-E)
88 rebasing 4:69a34c08022a BOOK-E "E"
89 note: not rebasing 4:69a34c08022a "E" (BOOK-E), its destination already has all its changes
89 note: not rebasing 4:69a34c08022a BOOK-E "E", its destination already has all its changes
90 rebasing 5:6b2aeab91270 "F" (BOOK-F F)
90 rebasing 5:6b2aeab91270 F BOOK-F "F"
91 saved backup bundle to $TESTTMP/non-merge/.hg/strip-backup/dc0947a82db8-52bb4973-rebase.hg
91 saved backup bundle to $TESTTMP/non-merge/.hg/strip-backup/dc0947a82db8-52bb4973-rebase.hg
92 $ hg log -G -T '{rev} {desc} {bookmarks}'
92 $ hg log -G -T '{rev} {desc} {bookmarks}'
93 o 5 F BOOK-F
93 o 5 F BOOK-F
@@ -139,12 +139,12 b' assumed branch name change.'
139 $ hg branch foo -q
139 $ hg branch foo -q
140
140
141 $ hg rebase -r '(A::)-(B::)-A' -d H --keepbranches
141 $ hg rebase -r '(A::)-(B::)-A' -d H --keepbranches
142 rebasing 2:dc0947a82db8 "C" (BOOK-C)
142 rebasing 2:dc0947a82db8 BOOK-C "C"
143 note: not rebasing 2:dc0947a82db8 "C" (BOOK-C), its destination already has all its changes
143 note: not rebasing 2:dc0947a82db8 BOOK-C "C", its destination already has all its changes
144 rebasing 3:b18e25de2cf5 "D" (BOOK-D)
144 rebasing 3:b18e25de2cf5 BOOK-D "D"
145 note: not rebasing 3:b18e25de2cf5 "D" (BOOK-D), its destination already has all its changes
145 note: not rebasing 3:b18e25de2cf5 BOOK-D "D", its destination already has all its changes
146 rebasing 4:86a1f6686812 "E" (BOOK-E E)
146 rebasing 4:86a1f6686812 E BOOK-E "E"
147 note: not rebasing 4:86a1f6686812 "E" (BOOK-E E), its destination already has all its changes
147 note: not rebasing 4:86a1f6686812 E BOOK-E "E", its destination already has all its changes
148 saved backup bundle to $TESTTMP/merge1/.hg/strip-backup/b18e25de2cf5-1fd0a4ba-rebase.hg
148 saved backup bundle to $TESTTMP/merge1/.hg/strip-backup/b18e25de2cf5-1fd0a4ba-rebase.hg
149 $ hg update null -q
149 $ hg update null -q
150
150
@@ -189,13 +189,13 b' Part of ancestors of a merge become empt'
189 > EOS
189 > EOS
190
190
191 $ hg rebase -r '(A::)-(B::)-A' -d H
191 $ hg rebase -r '(A::)-(B::)-A' -d H
192 rebasing 2:dc0947a82db8 "C" (BOOK-C)
192 rebasing 2:dc0947a82db8 BOOK-C "C"
193 note: not rebasing 2:dc0947a82db8 "C" (BOOK-C), its destination already has all its changes
193 note: not rebasing 2:dc0947a82db8 BOOK-C "C", its destination already has all its changes
194 rebasing 3:b18e25de2cf5 "D" (BOOK-D D)
194 rebasing 3:b18e25de2cf5 D BOOK-D "D"
195 rebasing 4:03ca77807e91 "E" (BOOK-E E)
195 rebasing 4:03ca77807e91 E BOOK-E "E"
196 rebasing 5:ad6717a6a58e "F" (BOOK-F)
196 rebasing 5:ad6717a6a58e BOOK-F "F"
197 note: not rebasing 5:ad6717a6a58e "F" (BOOK-F), its destination already has all its changes
197 note: not rebasing 5:ad6717a6a58e BOOK-F "F", its destination already has all its changes
198 rebasing 6:c58e8bdac1f4 "G" (BOOK-G G)
198 rebasing 6:c58e8bdac1f4 G BOOK-G "G"
199 saved backup bundle to $TESTTMP/merge2/.hg/strip-backup/b18e25de2cf5-2d487005-rebase.hg
199 saved backup bundle to $TESTTMP/merge2/.hg/strip-backup/b18e25de2cf5-2d487005-rebase.hg
200
200
201 $ hg log -G -T '{rev} {desc} {bookmarks}'
201 $ hg log -G -T '{rev} {desc} {bookmarks}'
@@ -42,7 +42,7 b' Rebase a simple DAG:'
42 b (no-eol)
42 b (no-eol)
43 $ hg rebase --debug -r b -d c | grep rebasing
43 $ hg rebase --debug -r b -d c | grep rebasing
44 rebasing in memory
44 rebasing in memory
45 rebasing 2:db0e82a16a62 "b" (b)
45 rebasing 2:db0e82a16a62 b "b"
46 $ hg tglog
46 $ hg tglog
47 o 3: ca58782ad1e4 'b'
47 o 3: ca58782ad1e4 'b'
48 |
48 |
@@ -102,7 +102,7 b' Write files to the working copy, and ens'
102 somefile (no-eol)
102 somefile (no-eol)
103 $ hg rebase --debug -s b -d a | grep rebasing
103 $ hg rebase --debug -s b -d a | grep rebasing
104 rebasing in memory
104 rebasing in memory
105 rebasing 2:db0e82a16a62 "b" (b)
105 rebasing 2:db0e82a16a62 b "b"
106 $ hg tglog
106 $ hg tglog
107 o 3: fc055c3b4d33 'b'
107 o 3: fc055c3b4d33 'b'
108 |
108 |
@@ -118,7 +118,7 b' Write files to the working copy, and ens'
118 b (no-eol)
118 b (no-eol)
119 $ hg rebase --debug -s 1 -d 3 | grep rebasing
119 $ hg rebase --debug -s 1 -d 3 | grep rebasing
120 rebasing in memory
120 rebasing in memory
121 rebasing 1:02952614a83d "d" (d)
121 rebasing 1:02952614a83d d "d"
122 rebasing 2:f56b71190a8f "c"
122 rebasing 2:f56b71190a8f "c"
123 $ hg tglog
123 $ hg tglog
124 o 3: 753feb6fd12a 'c'
124 o 3: 753feb6fd12a 'c'
@@ -149,7 +149,7 b' Rebase the working copy parent'
149 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
149 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
150 $ hg rebase -r 3 -d 0 --debug | grep rebasing
150 $ hg rebase -r 3 -d 0 --debug | grep rebasing
151 rebasing in memory
151 rebasing in memory
152 rebasing 3:753feb6fd12a "c" (tip)
152 rebasing 3:753feb6fd12a tip "c"
153 $ hg tglog
153 $ hg tglog
154 @ 3: 844a7de3e617 'c'
154 @ 3: 844a7de3e617 'c'
155 |
155 |
@@ -179,7 +179,7 b' Test reporting of path conflicts'
179 o 0: b173517d0057 'a'
179 o 0: b173517d0057 'a'
180
180
181 $ hg rebase -r . -d 2
181 $ hg rebase -r . -d 2
182 rebasing 4:daf7dfc139cb "a/a" (tip)
182 rebasing 4:daf7dfc139cb tip "a/a"
183 saved backup bundle to $TESTTMP/repo2/.hg/strip-backup/daf7dfc139cb-fdbfcf4f-rebase.hg
183 saved backup bundle to $TESTTMP/repo2/.hg/strip-backup/daf7dfc139cb-fdbfcf4f-rebase.hg
184
184
185 $ hg tglog
185 $ hg tglog
@@ -220,7 +220,7 b' Test reporting of path conflicts'
220 o 0: b173517d0057 'a'
220 o 0: b173517d0057 'a'
221
221
222 $ hg rebase -r . -d 5
222 $ hg rebase -r . -d 5
223 rebasing 7:855e9797387e "added a back!" (tip)
223 rebasing 7:855e9797387e tip "added a back!"
224 saved backup bundle to $TESTTMP/repo2/.hg/strip-backup/855e9797387e-81ee4c5d-rebase.hg
224 saved backup bundle to $TESTTMP/repo2/.hg/strip-backup/855e9797387e-81ee4c5d-rebase.hg
225
225
226 $ hg tglog
226 $ hg tglog
@@ -246,7 +246,7 b' Test reporting of path conflicts'
246 $ hg ci -m 'c/subdir/file.txt'
246 $ hg ci -m 'c/subdir/file.txt'
247 $ hg rebase -r . -d 3 -n
247 $ hg rebase -r . -d 3 -n
248 starting dry-run rebase; repository will not be changed
248 starting dry-run rebase; repository will not be changed
249 rebasing 8:e147e6e3c490 "c/subdir/file.txt" (tip)
249 rebasing 8:e147e6e3c490 tip "c/subdir/file.txt"
250 abort: error: 'c/subdir/file.txt' conflicts with file 'c' in 3.
250 abort: error: 'c/subdir/file.txt' conflicts with file 'c' in 3.
251 [255]
251 [255]
252 FIXME: shouldn't need this, but when we hit path conflicts in dryrun mode, we
252 FIXME: shouldn't need this, but when we hit path conflicts in dryrun mode, we
@@ -709,7 +709,7 b' Test a metadata-only in-memory merge'
709 $ hg ci -qAm 'add +x to foo.txt'
709 $ hg ci -qAm 'add +x to foo.txt'
710 issue5960: this was raising an AttributeError exception
710 issue5960: this was raising an AttributeError exception
711 $ hg rebase -r . -d 1
711 $ hg rebase -r . -d 1
712 rebasing 2:539b93e77479 "add +x to foo.txt" (tip)
712 rebasing 2:539b93e77479 tip "add +x to foo.txt"
713 saved backup bundle to $TESTTMP/no_exception/.hg/strip-backup/*.hg (glob)
713 saved backup bundle to $TESTTMP/no_exception/.hg/strip-backup/*.hg (glob)
714 $ hg diff -c tip
714 $ hg diff -c tip
715 diff --git a/foo.txt b/foo.txt
715 diff --git a/foo.txt b/foo.txt
@@ -772,7 +772,7 b' Test rebasing a commit with copy informa'
772 $ hg mv a b
772 $ hg mv a b
773 $ hg ci -qm 'rename a to b'
773 $ hg ci -qm 'rename a to b'
774 $ hg rebase -d 1
774 $ hg rebase -d 1
775 rebasing 2:b977edf6f839 "rename a to b" (tip)
775 rebasing 2:b977edf6f839 tip "rename a to b"
776 merging a and b to b
776 merging a and b to b
777 saved backup bundle to $TESTTMP/rebase-rename/.hg/strip-backup/b977edf6f839-0864f570-rebase.hg
777 saved backup bundle to $TESTTMP/rebase-rename/.hg/strip-backup/b977edf6f839-0864f570-rebase.hg
778 $ hg st --copies --change .
778 $ hg st --copies --change .
@@ -793,7 +793,7 b' Test rebasing a commit with copy informa'
793 $ hg mv a b
793 $ hg mv a b
794 $ hg ci -qm 'rename a to b'
794 $ hg ci -qm 'rename a to b'
795 $ hg rebase -d 1
795 $ hg rebase -d 1
796 rebasing 2:b977edf6f839 "rename a to b" (tip)
796 rebasing 2:b977edf6f839 tip "rename a to b"
797 merging a and b to b
797 merging a and b to b
798 saved backup bundle to $TESTTMP/rebase-rename-empty/.hg/strip-backup/b977edf6f839-0864f570-rebase.hg
798 saved backup bundle to $TESTTMP/rebase-rename-empty/.hg/strip-backup/b977edf6f839-0864f570-rebase.hg
799 $ hg st --copies --change .
799 $ hg st --copies --change .
@@ -813,7 +813,7 b' Rebase across a copy with --collapse'
813 $ echo a2 > a
813 $ echo a2 > a
814 $ hg ci -qm 'modify a'
814 $ hg ci -qm 'modify a'
815 $ hg rebase -r . -d 1 --collapse
815 $ hg rebase -r . -d 1 --collapse
816 rebasing 2:41c4ea50d4cf "modify a" (tip)
816 rebasing 2:41c4ea50d4cf tip "modify a"
817 merging b and a to b
817 merging b and a to b
818 saved backup bundle to $TESTTMP/rebase-rename-collapse/.hg/strip-backup/41c4ea50d4cf-b90b7994-rebase.hg
818 saved backup bundle to $TESTTMP/rebase-rename-collapse/.hg/strip-backup/41c4ea50d4cf-b90b7994-rebase.hg
819 $ cd ..
819 $ cd ..
@@ -850,7 +850,7 b' Test rebasing when the file we are mergi'
850 created new head
850 created new head
851
851
852 $ hg rebase -r . -d 1 --config ui.merge=internal:merge3
852 $ hg rebase -r . -d 1 --config ui.merge=internal:merge3
853 rebasing 2:fb62b706688e "add b to foo" (tip)
853 rebasing 2:fb62b706688e tip "add b to foo"
854 merging foo
854 merging foo
855 hit merge conflicts; rebasing that commit again in the working copy
855 hit merge conflicts; rebasing that commit again in the working copy
856 merging foo
856 merging foo
@@ -943,7 +943,7 b' definition.'
943 $ hg rebase -s 2 -d 3
943 $ hg rebase -s 2 -d 3
944 rebasing 2:0194f1db184a "b"
944 rebasing 2:0194f1db184a "b"
945 note: not rebasing 2:0194f1db184a "b", its destination already has all its changes
945 note: not rebasing 2:0194f1db184a "b", its destination already has all its changes
946 rebasing 4:59c8292117b1 "merge" (tip)
946 rebasing 4:59c8292117b1 tip "merge"
947 saved backup bundle to $TESTTMP/keep_merge/.hg/strip-backup/0194f1db184a-aee31d03-rebase.hg
947 saved backup bundle to $TESTTMP/keep_merge/.hg/strip-backup/0194f1db184a-aee31d03-rebase.hg
948 $ hg tglog
948 $ hg tglog
949 o 3: 506e2454484b 'merge'
949 o 3: 506e2454484b 'merge'
@@ -969,6 +969,6 b' changed although the file contents were '
969 $ echo bar > test; hg add test; hg ci -m c
969 $ echo bar > test; hg add test; hg ci -m c
970 created new head
970 created new head
971 $ hg rebase -d 2 -d 1 --tool :local
971 $ hg rebase -d 2 -d 1 --tool :local
972 rebasing 2:ca2749322ee5 "c" (tip)
972 rebasing 2:ca2749322ee5 tip "c"
973 note: not rebasing 2:ca2749322ee5 "c" (tip), its destination already has all its changes
973 note: not rebasing 2:ca2749322ee5 tip "c", its destination already has all its changes
974 saved backup bundle to $TESTTMP/nofilechanges/.hg/strip-backup/ca2749322ee5-6dc7e94b-rebase.hg
974 saved backup bundle to $TESTTMP/nofilechanges/.hg/strip-backup/ca2749322ee5-6dc7e94b-rebase.hg
@@ -348,7 +348,7 b' two dirstate parents. We should not get '
348 $ hg rebase --source 2 --dest 5 --tool internal:other --config 'hooks.precommit=hg status | grep "M A"'
348 $ hg rebase --source 2 --dest 5 --tool internal:other --config 'hooks.precommit=hg status | grep "M A"'
349 rebasing 2:965c486023db "C"
349 rebasing 2:965c486023db "C"
350 M A
350 M A
351 rebasing 6:a0b2430ebfb8 "F" (tip)
351 rebasing 6:a0b2430ebfb8 tip "F"
352 abort: precommit hook exited with status 1
352 abort: precommit hook exited with status 1
353 [255]
353 [255]
354 $ hg tglogp
354 $ hg tglogp
@@ -397,7 +397,7 b' two dirstate parents. We should not get '
397 > --config 'hooks.tonative.pretxncommit=True' --config 'hooks.pretxncommit=hg log -r $HG_NODE | grep "summary: C"'
397 > --config 'hooks.tonative.pretxncommit=True' --config 'hooks.pretxncommit=hg log -r $HG_NODE | grep "summary: C"'
398 rebasing 2:965c486023db "C"
398 rebasing 2:965c486023db "C"
399 summary: C
399 summary: C
400 rebasing 6:a0b2430ebfb8 "F" (tip)
400 rebasing 6:a0b2430ebfb8 tip "F"
401 transaction abort!
401 transaction abort!
402 rollback completed
402 rollback completed
403 abort: pretxncommit hook exited with status 1
403 abort: pretxncommit hook exited with status 1
@@ -447,7 +447,7 b' two dirstate parents. We should not get '
447 $ hg rebase --source 2 --dest 5 --tool internal:other --config 'hooks.pretxnclose=hg log -r tip | grep "summary: C"'
447 $ hg rebase --source 2 --dest 5 --tool internal:other --config 'hooks.pretxnclose=hg log -r tip | grep "summary: C"'
448 rebasing 2:965c486023db "C"
448 rebasing 2:965c486023db "C"
449 summary: C
449 summary: C
450 rebasing 6:a0b2430ebfb8 "F" (tip)
450 rebasing 6:a0b2430ebfb8 tip "F"
451 transaction abort!
451 transaction abort!
452 rollback completed
452 rollback completed
453 abort: pretxnclose hook exited with status 1
453 abort: pretxnclose hook exited with status 1
@@ -522,7 +522,7 b' Make sure merge state is cleaned up afte'
522 Now try again with --collapse
522 Now try again with --collapse
523 $ hg unbundle -q .hg/strip-backup/fdaca8533b86-7fd70513-rebase.hg
523 $ hg unbundle -q .hg/strip-backup/fdaca8533b86-7fd70513-rebase.hg
524 $ hg rebase -s 2 -d 1 --noninteractive --collapse
524 $ hg rebase -s 2 -d 1 --noninteractive --collapse
525 rebasing 2:fdaca8533b86 "b" (tip)
525 rebasing 2:fdaca8533b86 tip "b"
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')
@@ -533,7 +533,7 b' Now try again with --collapse'
533 (no more unresolved files)
533 (no more unresolved files)
534 continue: hg rebase --continue
534 continue: hg rebase --continue
535 $ hg rebase --continue
535 $ hg rebase --continue
536 rebasing 2:fdaca8533b86 "b" (tip)
536 rebasing 2:fdaca8533b86 tip "b"
537 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fdaca8533b86-7fd70513-rebase.hg
537 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/fdaca8533b86-7fd70513-rebase.hg
538 $ hg resolve --list
538 $ hg resolve --list
539 $ test -d .hg/merge
539 $ test -d .hg/merge
@@ -58,11 +58,11 b' rebasestate generated by a legacy client'
58 #endif
58 #endif
59
59
60 $ hg continue
60 $ hg continue
61 rebasing 4:c1e6b162678d "B" (B)
61 rebasing 4:c1e6b162678d B "B"
62 rebasing 8:6f7a236de685 "D" (D)
62 rebasing 8:6f7a236de685 D "D"
63 rebasing 2:de008c61a447 "E" (E)
63 rebasing 2:de008c61a447 E "E"
64 rebasing 7:d2fa1c02b240 "G" (G)
64 rebasing 7:d2fa1c02b240 G "G"
65 rebasing 9:6582e6951a9c "H" (H tip)
65 rebasing 9:6582e6951a9c H tip "H"
66 warning: orphaned descendants detected, not stripping c1e6b162678d, de008c61a447
66 warning: orphaned descendants detected, not stripping c1e6b162678d, de008c61a447
67 saved backup bundle to $TESTTMP/.hg/strip-backup/6f7a236de685-9880a3dc-rebase.hg
67 saved backup bundle to $TESTTMP/.hg/strip-backup/6f7a236de685-9880a3dc-rebase.hg
68
68
@@ -57,7 +57,7 b' already has one local mq patch'
57 $ hg up -q -C qtip
57 $ hg up -q -C qtip
58
58
59 $ hg rebase -v
59 $ hg rebase -v
60 rebasing 2:13a46ce44f60 "P0" (p0.patch qbase)
60 rebasing 2:13a46ce44f60 p0.patch qbase "P0"
61 resolving manifests
61 resolving manifests
62 removing p0
62 removing p0
63 getting r1
63 getting r1
@@ -67,9 +67,9 b' already has one local mq patch'
67 p0
67 p0
68 committing manifest
68 committing manifest
69 committing changelog
69 committing changelog
70 rebasing 3:148775c71080 "P1" (p1.patch qtip)
70 rebasing 3:148775c71080 p1.patch qtip "P1"
71 resolving manifests
71 resolving manifests
72 note: not rebasing 3:148775c71080 "P1" (p1.patch qtip), its destination already has all its changes
72 note: not rebasing 3:148775c71080 p1.patch qtip "P1", its destination already has all its changes
73 rebase merging completed
73 rebase merging completed
74 updating mq patch p0.patch to 5:9ecc820b1737
74 updating mq patch p0.patch to 5:9ecc820b1737
75 $TESTTMP/a/.hg/patches/p0.patch
75 $TESTTMP/a/.hg/patches/p0.patch
@@ -149,12 +149,12 b' already has one local mq patch'
149 $ hg up -q qtip
149 $ hg up -q qtip
150
150
151 $ HGMERGE=internal:fail hg rebase
151 $ HGMERGE=internal:fail hg rebase
152 rebasing 1:b4bffa6e4776 "r1" (qbase r1)
152 rebasing 1:b4bffa6e4776 qbase r1 "r1"
153 note: not rebasing 1:b4bffa6e4776 "r1" (qbase r1), its destination already has all its changes
153 note: not rebasing 1:b4bffa6e4776 qbase r1 "r1", its destination already has all its changes
154 rebasing 2:c0fd129beb01 "r2" (r2)
154 rebasing 2:c0fd129beb01 r2 "r2"
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
@@ -163,14 +163,14 b' already has one local mq patch'
163 continue: hg rebase --continue
163 continue: hg rebase --continue
164
164
165 $ hg continue
165 $ hg continue
166 already rebased 1:b4bffa6e4776 "r1" (qbase r1) as 057f55ff8f44
166 already rebased 1:b4bffa6e4776 qbase r1 "r1" as 057f55ff8f44
167 already rebased 2:c0fd129beb01 "r2" (r2) as 1660ab13ce9a
167 already rebased 2:c0fd129beb01 r2 "r2" as 1660ab13ce9a
168 already rebased 3:6ff5b8feed8e "r3" (r3) as 1660ab13ce9a
168 already rebased 3:6ff5b8feed8e r3 "r3" as 1660ab13ce9a
169 rebasing 4:094320fec554 "r4" (r4)
169 rebasing 4:094320fec554 r4 "r4"
170 note: not rebasing 4:094320fec554 "r4" (r4), its destination already has all its changes
170 note: not rebasing 4:094320fec554 r4 "r4", its destination already has all its changes
171 rebasing 5:681a378595ba "r5" (r5)
171 rebasing 5:681a378595ba r5 "r5"
172 rebasing 6:512a1f24768b "r6" (qtip r6)
172 rebasing 6:512a1f24768b qtip r6 "r6"
173 note: not rebasing 6:512a1f24768b "r6" (qtip r6), its destination already has all its changes
173 note: not rebasing 6:512a1f24768b qtip r6 "r6", its destination already has all its changes
174 saved backup bundle to $TESTTMP/b/.hg/strip-backup/b4bffa6e4776-b9bfb84d-rebase.hg
174 saved backup bundle to $TESTTMP/b/.hg/strip-backup/b4bffa6e4776-b9bfb84d-rebase.hg
175
175
176 $ hg tglog
176 $ hg tglog
@@ -59,7 +59,7 b' Rebase - same thing, but mq patch is def'
59 Rebase - generate a conflict:
59 Rebase - generate a conflict:
60
60
61 $ hg rebase -s 2 -d 1
61 $ hg rebase -s 2 -d 1
62 rebasing 2:3504f44bffc0 "P0" (f.patch qbase)
62 rebasing 2:3504f44bffc0 f.patch qbase "P0"
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')
@@ -72,8 +72,8 b' Fix the 1st conflict:'
72 (no more unresolved files)
72 (no more unresolved files)
73 continue: hg rebase --continue
73 continue: hg rebase --continue
74 $ hg rebase -c
74 $ hg rebase -c
75 rebasing 2:3504f44bffc0 "P0" (f.patch qbase)
75 rebasing 2:3504f44bffc0 f.patch qbase "P0"
76 rebasing 3:929394423cd3 "P1" (f2.patch qtip tip)
76 rebasing 3:929394423cd3 f2.patch qtip tip "P1"
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')
@@ -86,8 +86,8 b' Fix the 2nd conflict:'
86 (no more unresolved files)
86 (no more unresolved files)
87 continue: hg rebase --continue
87 continue: hg rebase --continue
88 $ hg rebase -c
88 $ hg rebase -c
89 already rebased 2:3504f44bffc0 "P0" (f.patch qbase) as ebe9914c0d1c
89 already rebased 2:3504f44bffc0 f.patch qbase "P0" as ebe9914c0d1c
90 rebasing 3:929394423cd3 "P1" (f2.patch qtip)
90 rebasing 3:929394423cd3 f2.patch qtip "P1"
91 saved backup bundle to $TESTTMP/a/.hg/strip-backup/3504f44bffc0-30595b40-rebase.hg
91 saved backup bundle to $TESTTMP/a/.hg/strip-backup/3504f44bffc0-30595b40-rebase.hg
92
92
93 $ hg tglog
93 $ hg tglog
@@ -203,8 +203,8 b' Adding one git-style patch and one norma'
203 Rebase the applied mq patches:
203 Rebase the applied mq patches:
204
204
205 $ hg rebase -s 2 -d 1
205 $ hg rebase -s 2 -d 1
206 rebasing 2:0c587ffcb480 "P0 (git)" (f_git.patch qbase)
206 rebasing 2:0c587ffcb480 f_git.patch qbase "P0 (git)"
207 rebasing 3:c7f18665e4bc "P1" (f.patch qtip tip)
207 rebasing 3:c7f18665e4bc f.patch qtip tip "P1"
208 saved backup bundle to $TESTTMP/a/.hg/strip-backup/0c587ffcb480-0ea5695f-rebase.hg
208 saved backup bundle to $TESTTMP/a/.hg/strip-backup/0c587ffcb480-0ea5695f-rebase.hg
209
209
210 $ hg qci -m 'save patch state'
210 $ hg qci -m 'save patch state'
@@ -337,7 +337,7 b' removed from the series):'
337 foo
337 foo
338 $ [ -f .hg/patches/empty-important ]
338 $ [ -f .hg/patches/empty-important ]
339 $ hg -q rebase -d 2
339 $ hg -q rebase -d 2
340 note: not rebasing 1:0aaf4c3af7eb "important commit message" (empty-important qbase), its destination already has all its changes
340 note: not rebasing 1:0aaf4c3af7eb empty-important qbase "important commit message", its destination already has all its changes
341 $ hg qseries
341 $ hg qseries
342 guarded
342 guarded
343 bar
343 bar
@@ -72,7 +72,7 b' Branch name containing a dash (issue3181'
72 rebasing 5:24b6387c8c8c "F"
72 rebasing 5:24b6387c8c8c "F"
73 rebasing 6:eea13746799a "G"
73 rebasing 6:eea13746799a "G"
74 rebasing 7:02de42196ebe "H"
74 rebasing 7:02de42196ebe "H"
75 rebasing 9:cb039b7cae8e "dev-two named branch" (tip)
75 rebasing 9:cb039b7cae8e tip "dev-two named branch"
76 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/24b6387c8c8c-24cb8001-rebase.hg
76 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/24b6387c8c8c-24cb8001-rebase.hg
77
77
78 $ hg tglog
78 $ hg tglog
@@ -101,7 +101,7 b' Branch name containing a dash (issue3181'
101 rebasing 6:24de4aff8e28 "F"
101 rebasing 6:24de4aff8e28 "F"
102 rebasing 7:4b988a958030 "G"
102 rebasing 7:4b988a958030 "G"
103 rebasing 8:31d0e4ba75e6 "H"
103 rebasing 8:31d0e4ba75e6 "H"
104 rebasing 9:9e70cd31750f "dev-two named branch" (tip)
104 rebasing 9:9e70cd31750f tip "dev-two named branch"
105 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-c4ee9ef5-rebase.hg
105 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-c4ee9ef5-rebase.hg
106
106
107 $ hg tglog
107 $ hg tglog
@@ -190,7 +190,7 b' Branch name containing a dash (issue3181'
190 rebasing 6:679f28760620 "F"
190 rebasing 6:679f28760620 "F"
191 rebasing 7:549f007a9f5f "G"
191 rebasing 7:549f007a9f5f "G"
192 rebasing 8:12b2bc666e20 "H"
192 rebasing 8:12b2bc666e20 "H"
193 rebasing 9:71325f8bc082 "dev-two named branch" (tip)
193 rebasing 9:71325f8bc082 tip "dev-two named branch"
194 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-6cdd1a52-rebase.hg
194 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/643fc9128048-6cdd1a52-rebase.hg
195
195
196 $ hg tglog
196 $ hg tglog
@@ -253,7 +253,7 b' Rebasing descendant onto ancestor across'
253 rebasing 6:3944801ae4ea "dev-two named branch"
253 rebasing 6:3944801ae4ea "dev-two named branch"
254 rebasing 7:3bdb949809d9 "B"
254 rebasing 7:3bdb949809d9 "B"
255 rebasing 8:a0d543090fa4 "C"
255 rebasing 8:a0d543090fa4 "C"
256 rebasing 9:e9f862ce8bad "D" (tip)
256 rebasing 9:e9f862ce8bad tip "D"
257 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/3944801ae4ea-fb46ed74-rebase.hg
257 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/3944801ae4ea-fb46ed74-rebase.hg
258
258
259 $ hg tglog
259 $ hg tglog
@@ -344,7 +344,7 b' source or destination.'
344
344
345 $ hg rebase -s tip -d 4 --dry-run
345 $ hg rebase -s tip -d 4 --dry-run
346 starting dry-run rebase; repository will not be changed
346 starting dry-run rebase; repository will not be changed
347 rebasing 11:be1dea60f2a6 "D" (tip)
347 rebasing 11:be1dea60f2a6 tip "D"
348 dry-run rebase completed successfully; run without -n/--dry-run to perform this rebase
348 dry-run rebase completed successfully; run without -n/--dry-run to perform this rebase
349 $ hg diff
349 $ hg diff
350 diff -r 2b586e70108d A
350 diff -r 2b586e70108d A
@@ -360,7 +360,7 b' unrelated to the source or destination.'
360 $ echo A-mod > A
360 $ echo A-mod > A
361 $ echo n | hg rebase -s tip -d 4 --confirm --config ui.interactive=True
361 $ echo n | hg rebase -s tip -d 4 --confirm --config ui.interactive=True
362 starting in-memory rebase
362 starting in-memory rebase
363 rebasing 11:be1dea60f2a6 "D" (tip)
363 rebasing 11:be1dea60f2a6 tip "D"
364 rebase completed successfully
364 rebase completed successfully
365 apply changes (yn)? n
365 apply changes (yn)? n
366 $ hg diff
366 $ hg diff
@@ -374,7 +374,7 b' unrelated to the source or destination.'
374 $ echo A-mod > A
374 $ echo A-mod > A
375 $ hg rebase -s tip -d 4 --confirm
375 $ hg rebase -s tip -d 4 --confirm
376 starting in-memory rebase
376 starting in-memory rebase
377 rebasing 11:be1dea60f2a6 "D" (tip)
377 rebasing 11:be1dea60f2a6 tip "D"
378 rebase completed successfully
378 rebase completed successfully
379 apply changes (yn)? y
379 apply changes (yn)? y
380 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/be1dea60f2a6-ca6d2dac-rebase.hg
380 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/be1dea60f2a6-ca6d2dac-rebase.hg
@@ -527,8 +527,8 b" rebase 'c1' to the branch head 'c2' that"
527 marked working directory as branch x
527 marked working directory as branch x
528 $ hg rebase -r 3:: -d .
528 $ hg rebase -r 3:: -d .
529 rebasing 3:76abc1c6f8c7 "b1"
529 rebasing 3:76abc1c6f8c7 "b1"
530 rebasing 4:8427af5d86f2 "c2 closed" (tip)
530 rebasing 4:8427af5d86f2 tip "c2 closed"
531 note: not rebasing 4:8427af5d86f2 "c2 closed" (tip), its destination already has all its changes
531 note: not rebasing 4:8427af5d86f2 tip "c2 closed", its destination already has all its changes
532 saved backup bundle to $TESTTMP/case2/.hg/strip-backup/76abc1c6f8c7-cd698d13-rebase.hg
532 saved backup bundle to $TESTTMP/case2/.hg/strip-backup/76abc1c6f8c7-cd698d13-rebase.hg
533 $ hg tglog
533 $ hg tglog
534 o 3: 117b0ed08075 'b1' x
534 o 3: 117b0ed08075 'b1' x
@@ -251,7 +251,7 b' rebase of merge of ancestors'
251 $ echo 'other change while merging future "rebase ancestors"' > other
251 $ echo 'other change while merging future "rebase ancestors"' > other
252 $ hg ci -Aqm 'merge rebase ancestors'
252 $ hg ci -Aqm 'merge rebase ancestors'
253 $ hg rebase -d 5 -v
253 $ hg rebase -d 5 -v
254 rebasing 6:4c5f12f25ebe "merge rebase ancestors" (tip)
254 rebasing 6:4c5f12f25ebe tip "merge rebase ancestors"
255 resolving manifests
255 resolving manifests
256 removing other
256 removing other
257 resolving manifests
257 resolving manifests
@@ -310,9 +310,9 b' may include unwanted content:'
310 > R
310 > R
311 > EOS
311 > EOS
312 $ hg rebase -r D+E+F -d Z
312 $ hg rebase -r D+E+F -d Z
313 rebasing 5:5f2c926dfecf "D" (D)
313 rebasing 5:5f2c926dfecf D "D"
314 rebasing 6:b296604d9846 "E" (E)
314 rebasing 6:b296604d9846 E "E"
315 rebasing 7:caa9781e507d "F" (F tip)
315 rebasing 7:caa9781e507d F tip "F"
316 abort: rebasing 7:caa9781e507d will include unwanted changes from 4:d6003a550c2c or 3:c1e6b162678d
316 abort: rebasing 7:caa9781e507d will include unwanted changes from 4:d6003a550c2c or 3:c1e6b162678d
317 [255]
317 [255]
318
318
@@ -330,9 +330,9 b' The warning does not get printed if ther'
330 > R
330 > R
331 > EOS
331 > EOS
332 $ hg rebase -r B+C+D -d Z
332 $ hg rebase -r B+C+D -d Z
333 rebasing 3:c1e6b162678d "B" (B)
333 rebasing 3:c1e6b162678d B "B"
334 rebasing 4:d6003a550c2c "C" (C)
334 rebasing 4:d6003a550c2c C "C"
335 rebasing 5:c8f78076273e "D" (D tip)
335 rebasing 5:c8f78076273e D tip "D"
336 saved backup bundle to $TESTTMP/dual-merge-base2/.hg/strip-backup/d6003a550c2c-6f1424b6-rebase.hg
336 saved backup bundle to $TESTTMP/dual-merge-base2/.hg/strip-backup/d6003a550c2c-6f1424b6-rebase.hg
337 $ hg manifest -r 'desc(D)'
337 $ hg manifest -r 'desc(D)'
338 B
338 B
@@ -352,8 +352,8 b' The merge base could be different from o'
352 > B C Z
352 > B C Z
353 > EOS
353 > EOS
354 $ hg rebase -r D+F -d Z
354 $ hg rebase -r D+F -d Z
355 rebasing 3:004dc1679908 "D" (D)
355 rebasing 3:004dc1679908 D "D"
356 rebasing 5:4be4cbf6f206 "F" (F tip)
356 rebasing 5:4be4cbf6f206 F tip "F"
357 saved backup bundle to $TESTTMP/chosen-merge-base1/.hg/strip-backup/004dc1679908-06a66a3c-rebase.hg
357 saved backup bundle to $TESTTMP/chosen-merge-base1/.hg/strip-backup/004dc1679908-06a66a3c-rebase.hg
358 $ hg manifest -r 'desc(F)'
358 $ hg manifest -r 'desc(F)'
359 C
359 C
@@ -373,8 +373,8 b' The merge base could be different from o'
373 > B C Z
373 > B C Z
374 > EOS
374 > EOS
375 $ hg rebase -r E+F -d Z
375 $ hg rebase -r E+F -d Z
376 rebasing 4:974e4943c210 "E" (E)
376 rebasing 4:974e4943c210 E "E"
377 rebasing 5:4be4cbf6f206 "F" (F tip)
377 rebasing 5:4be4cbf6f206 F tip "F"
378 saved backup bundle to $TESTTMP/chosen-merge-base2/.hg/strip-backup/974e4943c210-b2874da5-rebase.hg
378 saved backup bundle to $TESTTMP/chosen-merge-base2/.hg/strip-backup/974e4943c210-b2874da5-rebase.hg
379 $ hg manifest -r 'desc(F)'
379 $ hg manifest -r 'desc(F)'
380 B
380 B
@@ -210,7 +210,7 b' More complex case where part of the reba'
210
210
211 $ hg rebase --source 'desc(B)' --dest 'tip' --config experimental.rebaseskipobsolete=True
211 $ hg rebase --source 'desc(B)' --dest 'tip' --config experimental.rebaseskipobsolete=True
212 rebasing 8:8877864f1edb "B"
212 rebasing 8:8877864f1edb "B"
213 note: not rebasing 9:08483444fef9 "D", already in destination as 11:4596109a6a43 "D" (tip)
213 note: not rebasing 9:08483444fef9 "D", already in destination as 11:4596109a6a43 tip "D"
214 rebasing 10:5ae4c968c6ac "C"
214 rebasing 10:5ae4c968c6ac "C"
215 $ hg debugobsolete
215 $ hg debugobsolete
216 42ccdea3bb16d28e1848c95fe2e44c000f3f21b1 0 {cd010b8cd998f3981a5a8115f94f8da4ab506089} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'rebase', 'user': 'test'}
216 42ccdea3bb16d28e1848c95fe2e44c000f3f21b1 0 {cd010b8cd998f3981a5a8115f94f8da4ab506089} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'rebase', 'user': 'test'}
@@ -258,7 +258,7 b' More complex case where part of the reba'
258 grafting 11:4596109a6a43 "D"
258 grafting 11:4596109a6a43 "D"
259 $ hg up -qr 'desc(E)'
259 $ hg up -qr 'desc(E)'
260 $ hg rebase -s tip -d .
260 $ hg rebase -s tip -d .
261 rebasing 14:9e36056a46e3 "D" (tip)
261 rebasing 14:9e36056a46e3 tip "D"
262 $ hg log --style default --debug -r tip
262 $ hg log --style default --debug -r tip
263 changeset: 15:627d4614809036ba22b9e7cb31638ddc06ab99ab
263 changeset: 15:627d4614809036ba22b9e7cb31638ddc06ab99ab
264 tag: tip
264 tag: tip
@@ -518,7 +518,7 b' Test multiple root handling'
518 $ hg rebase --dest 4 --rev '7+11+9'
518 $ hg rebase --dest 4 --rev '7+11+9'
519 rebasing 9:cf44d2f5a9f4 "D"
519 rebasing 9:cf44d2f5a9f4 "D"
520 rebasing 7:02de42196ebe "H"
520 rebasing 7:02de42196ebe "H"
521 rebasing 11:0d8f238b634c "C" (tip)
521 rebasing 11:0d8f238b634c tip "C"
522 $ hg log -G
522 $ hg log -G
523 o 14:1e8370e38cca C
523 o 14:1e8370e38cca C
524 |
524 |
@@ -556,9 +556,9 b' Detach both parents'
556 > EOF
556 > EOF
557
557
558 $ hg rebase -d G -r 'B + D + F'
558 $ hg rebase -d G -r 'B + D + F'
559 rebasing 1:112478962961 "B" (B)
559 rebasing 1:112478962961 B "B"
560 rebasing 2:b18e25de2cf5 "D" (D)
560 rebasing 2:b18e25de2cf5 D "D"
561 rebasing 6:f15c3adaf214 "F" (F tip)
561 rebasing 6:f15c3adaf214 F tip "F"
562 abort: cannot rebase 6:f15c3adaf214 without moving at least one of its parents
562 abort: cannot rebase 6:f15c3adaf214 without moving at least one of its parents
563 [255]
563 [255]
564
564
@@ -612,7 +612,7 b' test on rebase dropping a merge'
612 $ hg rebase --dest 6 --rev '((desc(H) + desc(D))::) - desc(M)'
612 $ hg rebase --dest 6 --rev '((desc(H) + desc(D))::) - desc(M)'
613 rebasing 3:32af7686d403 "D"
613 rebasing 3:32af7686d403 "D"
614 rebasing 7:02de42196ebe "H"
614 rebasing 7:02de42196ebe "H"
615 rebasing 9:4bde274eefcf "I" (tip)
615 rebasing 9:4bde274eefcf tip "I"
616 1 new orphan changesets
616 1 new orphan changesets
617 $ hg log -G
617 $ hg log -G
618 @ 12:acd174b7ab39 I
618 @ 12:acd174b7ab39 I
@@ -656,7 +656,7 b' Test hidden changesets in the rebase set'
656
656
657 $ hg rebase --rev .~1::. --dest 'max(desc(D))' --traceback --config experimental.rebaseskipobsolete=off
657 $ hg rebase --rev .~1::. --dest 'max(desc(D))' --traceback --config experimental.rebaseskipobsolete=off
658 rebasing 9:4bde274eefcf "I"
658 rebasing 9:4bde274eefcf "I"
659 rebasing 13:06edfc82198f "J" (tip)
659 rebasing 13:06edfc82198f tip "J"
660 2 new content-divergent changesets
660 2 new content-divergent changesets
661 $ hg log -G
661 $ hg log -G
662 @ 15:5ae8a643467b J
662 @ 15:5ae8a643467b J
@@ -787,7 +787,7 b' Rebase finds its way in a chain of marke'
787
787
788 $ hg rebase -d 'desc(B2)'
788 $ hg rebase -d 'desc(B2)'
789 note: not rebasing 1:a8b11f55fb19 "B0", already in destination as 3:261e70097290 "B2"
789 note: not rebasing 1:a8b11f55fb19 "B0", already in destination as 3:261e70097290 "B2"
790 rebasing 4:212cb178bcbb "C" (tip)
790 rebasing 4:212cb178bcbb tip "C"
791
791
792 Even when the chain include missing node
792 Even when the chain include missing node
793
793
@@ -816,7 +816,7 b' Even when the chain include missing node'
816
816
817 $ hg rebase -d 'desc(B2)'
817 $ hg rebase -d 'desc(B2)'
818 note: not rebasing 1:a8b11f55fb19 "B0", already in destination as 2:261e70097290 "B2"
818 note: not rebasing 1:a8b11f55fb19 "B0", already in destination as 2:261e70097290 "B2"
819 rebasing 5:1a79b7535141 "D" (tip)
819 rebasing 5:1a79b7535141 tip "D"
820 $ hg up 4
820 $ hg up 4
821 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
821 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
822 $ echo "O" > O
822 $ echo "O" > O
@@ -845,7 +845,7 b' Even when the chain include missing node'
845 $ hg rebase -d 6 -r "4::"
845 $ hg rebase -d 6 -r "4::"
846 rebasing 4:ff2c4d47b71d "C"
846 rebasing 4:ff2c4d47b71d "C"
847 note: not rebasing 7:360bbaa7d3ce "O", it has no successor
847 note: not rebasing 7:360bbaa7d3ce "O", it has no successor
848 rebasing 8:8d47583e023f "P" (tip)
848 rebasing 8:8d47583e023f tip "P"
849
849
850 If all the changeset to be rebased are obsolete and present in the destination, we
850 If all the changeset to be rebased are obsolete and present in the destination, we
851 should display a friendly error message
851 should display a friendly error message
@@ -885,7 +885,7 b' should display a friendly error message'
885 o 0:4a2df7238c3b A
885 o 0:4a2df7238c3b A
886
886
887 $ hg rebase -r . -d 10
887 $ hg rebase -r . -d 10
888 note: not rebasing 11:f44da1f4954c "nonrelevant" (tip), it has no successor
888 note: not rebasing 11:f44da1f4954c tip "nonrelevant", it has no successor
889
889
890 If a rebase is going to create divergence, it should abort
890 If a rebase is going to create divergence, it should abort
891
891
@@ -970,7 +970,7 b' With experimental.evolution.allowdiverge'
970
970
971 $ hg rebase -s 10 -d 12 --config experimental.evolution.allowdivergence=True
971 $ hg rebase -s 10 -d 12 --config experimental.evolution.allowdivergence=True
972 rebasing 10:121d9e3bc4c6 "P"
972 rebasing 10:121d9e3bc4c6 "P"
973 rebasing 14:73568ab6879d "bar foo" (tip)
973 rebasing 14:73568ab6879d tip "bar foo"
974 2 new content-divergent changesets
974 2 new content-divergent changesets
975 $ hg summary
975 $ hg summary
976 parent: 16:61bd55f69bc4 tip
976 parent: 16:61bd55f69bc4 tip
@@ -1041,7 +1041,7 b' Create the changes that we will rebase'
1041 $ hg rebase --continue
1041 $ hg rebase --continue
1042 rebasing 19:b82fb57ea638 "willconflict second version"
1042 rebasing 19:b82fb57ea638 "willconflict second version"
1043 note: not rebasing 20:8b31da3c4919 "dummy change", already in destination as 18:601db7a18f51 "dummy change successor"
1043 note: not rebasing 20:8b31da3c4919 "dummy change", already in destination as 18:601db7a18f51 "dummy change successor"
1044 rebasing 21:7bdc8a87673d "dummy change" (tip)
1044 rebasing 21:7bdc8a87673d tip "dummy change"
1045 $ cd ..
1045 $ cd ..
1046
1046
1047 Divergence cases due to obsolete changesets
1047 Divergence cases due to obsolete changesets
@@ -1096,11 +1096,11 b' would occur because the successor of d ('
1096 consequence f (descendant of d) is left behind.
1096 consequence f (descendant of d) is left behind.
1097
1097
1098 $ hg rebase -b 'e' -d 'x'
1098 $ hg rebase -b 'e' -d 'x'
1099 rebasing 1:488e1b7e7341 "b" (b)
1099 rebasing 1:488e1b7e7341 b "b"
1100 rebasing 3:a82ac2b38757 "c" (c)
1100 rebasing 3:a82ac2b38757 c "c"
1101 rebasing 5:027ad6c5830d "d'" (d')
1101 rebasing 5:027ad6c5830d d' "d'"
1102 rebasing 6:d60ebfa0f1cb "e" (e)
1102 rebasing 6:d60ebfa0f1cb e "e"
1103 note: not rebasing 4:76be324c128b "d" (d) and its descendants as this would cause divergence
1103 note: not rebasing 4:76be324c128b d "d" and its descendants as this would cause divergence
1104 $ hg log -G -r 'a'::
1104 $ hg log -G -r 'a'::
1105 o 11:eb6d63fc4ed5 e
1105 o 11:eb6d63fc4ed5 e
1106 |
1106 |
@@ -1154,9 +1154,9 b' By allowing divergence, we can perform t'
1154 (to force the rebase please set experimental.evolution.allowdivergence=True)
1154 (to force the rebase please set experimental.evolution.allowdivergence=True)
1155 [255]
1155 [255]
1156 $ hg rebase --config experimental.evolution.allowdivergence=true -r 'c'::'f' -d 'x'
1156 $ hg rebase --config experimental.evolution.allowdivergence=true -r 'c'::'f' -d 'x'
1157 rebasing 3:a82ac2b38757 "c" (c)
1157 rebasing 3:a82ac2b38757 c "c"
1158 rebasing 4:76be324c128b "d" (d)
1158 rebasing 4:76be324c128b d "d"
1159 rebasing 7:1143e9adc121 "f" (f tip)
1159 rebasing 7:1143e9adc121 f tip "f"
1160 1 new orphan changesets
1160 1 new orphan changesets
1161 2 new content-divergent changesets
1161 2 new content-divergent changesets
1162 $ hg log -G -r 'a':: -T instabilities
1162 $ hg log -G -r 'a':: -T instabilities
@@ -1187,9 +1187,9 b' By allowing divergence, we can perform t'
1187 (Not skipping obsoletes means that divergence is allowed.)
1187 (Not skipping obsoletes means that divergence is allowed.)
1188
1188
1189 $ hg rebase --config experimental.rebaseskipobsolete=false -r 'c'::'f' -d 'x'
1189 $ hg rebase --config experimental.rebaseskipobsolete=false -r 'c'::'f' -d 'x'
1190 rebasing 3:a82ac2b38757 "c" (c)
1190 rebasing 3:a82ac2b38757 c "c"
1191 rebasing 4:76be324c128b "d" (d)
1191 rebasing 4:76be324c128b d "d"
1192 rebasing 7:1143e9adc121 "f" (f tip)
1192 rebasing 7:1143e9adc121 f tip "f"
1193 1 new orphan changesets
1193 1 new orphan changesets
1194 2 new content-divergent changesets
1194 2 new content-divergent changesets
1195
1195
@@ -1231,12 +1231,12 b' Similar test on a more complex graph'
1231 o 0:b173517d0057 a
1231 o 0:b173517d0057 a
1232
1232
1233 $ hg rebase -b 'f' -d 'x'
1233 $ hg rebase -b 'f' -d 'x'
1234 rebasing 1:488e1b7e7341 "b" (b)
1234 rebasing 1:488e1b7e7341 b "b"
1235 rebasing 3:a82ac2b38757 "c" (c)
1235 rebasing 3:a82ac2b38757 c "c"
1236 rebasing 5:63324dc512ea "e'" (e')
1236 rebasing 5:63324dc512ea e' "e'"
1237 rebasing 7:3ffec603ab53 "f" (f)
1237 rebasing 7:3ffec603ab53 f "f"
1238 rebasing 4:76be324c128b "d" (d)
1238 rebasing 4:76be324c128b d "d"
1239 note: not rebasing 6:e36fae928aec "e" (e) and its descendants as this would cause divergence
1239 note: not rebasing 6:e36fae928aec e "e" and its descendants as this would cause divergence
1240 $ hg log -G -r 'a':
1240 $ hg log -G -r 'a':
1241 o 13:a1707a5b7c2c d
1241 o 13:a1707a5b7c2c d
1242 |
1242 |
@@ -1294,7 +1294,7 b' issue5782'
1294 o 0:b173517d0057 a
1294 o 0:b173517d0057 a
1295
1295
1296 $ hg rebase -d 0 -r 2
1296 $ hg rebase -d 0 -r 2
1297 rebasing 2:a82ac2b38757 "c" (c)
1297 rebasing 2:a82ac2b38757 c "c"
1298 $ hg log -G -r 'a': --hidden
1298 $ hg log -G -r 'a': --hidden
1299 o 5:69ad416a4a26 c
1299 o 5:69ad416a4a26 c
1300 |
1300 |
@@ -1325,8 +1325,8 b' Rebase merge where successor of one pare'
1325 1 new orphan changesets
1325 1 new orphan changesets
1326
1326
1327 $ hg rebase -d B -s D
1327 $ hg rebase -d B -s D
1328 note: not rebasing 2:b18e25de2cf5 "D" (D), already in destination as 1:112478962961 "B" (B)
1328 note: not rebasing 2:b18e25de2cf5 D "D", already in destination as 1:112478962961 B "B"
1329 rebasing 4:66f1a38021c9 "F" (F tip)
1329 rebasing 4:66f1a38021c9 F tip "F"
1330 $ hg log -G
1330 $ hg log -G
1331 o 5:50e9d60b99c6 F
1331 o 5:50e9d60b99c6 F
1332 |\
1332 |\
@@ -1357,8 +1357,8 b' Rebase merge where successor of other pa'
1357 1 new orphan changesets
1357 1 new orphan changesets
1358
1358
1359 $ hg rebase -d B -s E
1359 $ hg rebase -d B -s E
1360 note: not rebasing 3:7fb047a69f22 "E" (E), already in destination as 1:112478962961 "B" (B)
1360 note: not rebasing 3:7fb047a69f22 E "E", already in destination as 1:112478962961 B "B"
1361 rebasing 4:66f1a38021c9 "F" (F tip)
1361 rebasing 4:66f1a38021c9 F tip "F"
1362 $ hg log -G
1362 $ hg log -G
1363 o 5:aae1787dacee F
1363 o 5:aae1787dacee F
1364 |\
1364 |\
@@ -1389,8 +1389,8 b' Rebase merge where successor of one pare'
1389 1 new orphan changesets
1389 1 new orphan changesets
1390
1390
1391 $ hg rebase -d C -s D
1391 $ hg rebase -d C -s D
1392 note: not rebasing 2:b18e25de2cf5 "D" (D), already in destination as 1:112478962961 "B" (B)
1392 note: not rebasing 2:b18e25de2cf5 D "D", already in destination as 1:112478962961 B "B"
1393 rebasing 5:66f1a38021c9 "F" (F tip)
1393 rebasing 5:66f1a38021c9 F tip "F"
1394
1394
1395 $ hg log -G
1395 $ hg log -G
1396 o 6:0913febf6439 F
1396 o 6:0913febf6439 F
@@ -1424,8 +1424,8 b' Rebase merge where successor of other pa'
1424 1 new orphan changesets
1424 1 new orphan changesets
1425
1425
1426 $ hg rebase -d C -s E
1426 $ hg rebase -d C -s E
1427 note: not rebasing 3:7fb047a69f22 "E" (E), already in destination as 1:112478962961 "B" (B)
1427 note: not rebasing 3:7fb047a69f22 E "E", already in destination as 1:112478962961 B "B"
1428 rebasing 5:66f1a38021c9 "F" (F tip)
1428 rebasing 5:66f1a38021c9 F tip "F"
1429 $ hg log -G
1429 $ hg log -G
1430 o 6:c6ab0cc6d220 F
1430 o 6:c6ab0cc6d220 F
1431 |\
1431 |\
@@ -1458,10 +1458,10 b' Rebase merge where successor of one pare'
1458 1 new orphan changesets
1458 1 new orphan changesets
1459
1459
1460 $ hg rebase -d C -b F
1460 $ hg rebase -d C -b F
1461 rebasing 2:b18e25de2cf5 "D" (D)
1461 rebasing 2:b18e25de2cf5 D "D"
1462 note: not rebasing 3:7fb047a69f22 "E" (E), already in destination as 1:112478962961 "B" (B)
1462 note: not rebasing 3:7fb047a69f22 E "E", already in destination as 1:112478962961 B "B"
1463 rebasing 5:66f1a38021c9 "F" (F tip)
1463 rebasing 5:66f1a38021c9 F tip "F"
1464 note: not rebasing 5:66f1a38021c9 "F" (F tip), its destination already has all its changes
1464 note: not rebasing 5:66f1a38021c9 F tip "F", its destination already has all its changes
1465 $ hg log -G
1465 $ hg log -G
1466 o 6:8f47515dda15 D
1466 o 6:8f47515dda15 D
1467 |
1467 |
@@ -1494,10 +1494,10 b' Rebase merge where successor of other pa'
1494 1 new orphan changesets
1494 1 new orphan changesets
1495
1495
1496 $ hg rebase -d C -b F
1496 $ hg rebase -d C -b F
1497 note: not rebasing 2:b18e25de2cf5 "D" (D), already in destination as 1:112478962961 "B" (B)
1497 note: not rebasing 2:b18e25de2cf5 D "D", already in destination as 1:112478962961 B "B"
1498 rebasing 3:7fb047a69f22 "E" (E)
1498 rebasing 3:7fb047a69f22 E "E"
1499 rebasing 5:66f1a38021c9 "F" (F tip)
1499 rebasing 5:66f1a38021c9 F tip "F"
1500 note: not rebasing 5:66f1a38021c9 "F" (F tip), its destination already has all its changes
1500 note: not rebasing 5:66f1a38021c9 F tip "F", its destination already has all its changes
1501
1501
1502 $ hg log -G
1502 $ hg log -G
1503 o 6:533690786a86 E
1503 o 6:533690786a86 E
@@ -1531,8 +1531,8 b' destination'
1531 > EOF
1531 > EOF
1532
1532
1533 $ hg rebase -d D -s B
1533 $ hg rebase -d D -s B
1534 rebasing 1:112478962961 "B" (B)
1534 rebasing 1:112478962961 B "B"
1535 note: not rebasing 3:26805aba1e60 "C" (C) and its descendants as this would cause divergence
1535 note: not rebasing 3:26805aba1e60 C "C" and its descendants as this would cause divergence
1536
1536
1537 $ cd ..
1537 $ cd ..
1538
1538
@@ -1581,9 +1581,9 b' Rebase merge where both parents have suc'
1581 > EOS
1581 > EOS
1582 1 new orphan changesets
1582 1 new orphan changesets
1583 $ hg rebase -r A+B+E -d F
1583 $ hg rebase -r A+B+E -d F
1584 note: not rebasing 4:a3d17304151f "A" (A), already in destination as 0:96cc3511f894 "C" (C)
1584 note: not rebasing 4:a3d17304151f A "A", already in destination as 0:96cc3511f894 C "C"
1585 note: not rebasing 5:b23a2cc00842 "B" (B), already in destination as 1:058c1e1fb10a "D" (D)
1585 note: not rebasing 5:b23a2cc00842 B "B", already in destination as 1:058c1e1fb10a D "D"
1586 rebasing 7:dac5d11c5a7d "E" (E tip)
1586 rebasing 7:dac5d11c5a7d E tip "E"
1587 abort: rebasing 7:dac5d11c5a7d will include unwanted changes from 3:59c792af609c, 5:b23a2cc00842 or 2:ba2b7fa7166d, 4:a3d17304151f
1587 abort: rebasing 7:dac5d11c5a7d will include unwanted changes from 3:59c792af609c, 5:b23a2cc00842 or 2:ba2b7fa7166d, 4:a3d17304151f
1588 [255]
1588 [255]
1589 $ cd ..
1589 $ cd ..
@@ -1600,9 +1600,9 b' parent moves as requested.'
1600 > EOS
1600 > EOS
1601 1 new orphan changesets
1601 1 new orphan changesets
1602 $ hg rebase -r A+B+D -d Z
1602 $ hg rebase -r A+B+D -d Z
1603 note: not rebasing 0:426bada5c675 "A" (A), already in destination as 2:96cc3511f894 "C" (C)
1603 note: not rebasing 0:426bada5c675 A "A", already in destination as 2:96cc3511f894 C "C"
1604 rebasing 1:fc2b737bb2e5 "B" (B)
1604 rebasing 1:fc2b737bb2e5 B "B"
1605 rebasing 3:b8ed089c80ad "D" (D)
1605 rebasing 3:b8ed089c80ad D "D"
1606
1606
1607 $ rm .hg/localtags
1607 $ rm .hg/localtags
1608 $ hg log -G
1608 $ hg log -G
@@ -1631,9 +1631,9 b' parent moves as requested.'
1631 > EOS
1631 > EOS
1632 1 new orphan changesets
1632 1 new orphan changesets
1633 $ hg rebase -r B+A+D -d Z
1633 $ hg rebase -r B+A+D -d Z
1634 rebasing 0:426bada5c675 "A" (A)
1634 rebasing 0:426bada5c675 A "A"
1635 note: not rebasing 1:fc2b737bb2e5 "B" (B), already in destination as 2:96cc3511f894 "C" (C)
1635 note: not rebasing 1:fc2b737bb2e5 B "B", already in destination as 2:96cc3511f894 C "C"
1636 rebasing 3:b8ed089c80ad "D" (D)
1636 rebasing 3:b8ed089c80ad D "D"
1637
1637
1638 $ rm .hg/localtags
1638 $ rm .hg/localtags
1639 $ hg log -G
1639 $ hg log -G
@@ -1669,7 +1669,7 b' equivalents in destination'
1669 adding b
1669 adding b
1670 created new head
1670 created new head
1671 $ hg rebase -r 2 -d 1
1671 $ hg rebase -r 2 -d 1
1672 rebasing 2:1e9a3c00cbe9 "b" (tip)
1672 rebasing 2:1e9a3c00cbe9 tip "b"
1673 $ hg log -r . # working dir is at rev 3 (successor of 2)
1673 $ hg log -r . # working dir is at rev 3 (successor of 2)
1674 3:be1832deae9a b (no-eol)
1674 3:be1832deae9a b (no-eol)
1675 $ hg book -r 2 mybook --hidden # rev 2 has a bookmark on it now
1675 $ hg book -r 2 mybook --hidden # rev 2 has a bookmark on it now
@@ -1679,7 +1679,7 b' equivalents in destination'
1679 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
1679 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
1680 2:1e9a3c00cbe9 b (rewritten using rebase as 3:be1832deae9a) (no-eol)
1680 2:1e9a3c00cbe9 b (rewritten using rebase as 3:be1832deae9a) (no-eol)
1681 $ hg rebase -r 2 -d 3 --config experimental.evolution.track-operation=1
1681 $ hg rebase -r 2 -d 3 --config experimental.evolution.track-operation=1
1682 note: not rebasing 2:1e9a3c00cbe9 "b" (mybook), already in destination as 3:be1832deae9a "b" (tip)
1682 note: not rebasing 2:1e9a3c00cbe9 mybook "b", already in destination as 3:be1832deae9a tip "b"
1683 Check that working directory and bookmark was updated to rev 3 although rev 2
1683 Check that working directory and bookmark was updated to rev 3 although rev 2
1684 was skipped
1684 was skipped
1685 $ hg log -r .
1685 $ hg log -r .
@@ -1706,8 +1706,8 b' parent gets moved:'
1706 $ hg update D1 -q
1706 $ hg update D1 -q
1707 $ hg bookmark book -i
1707 $ hg bookmark book -i
1708 $ hg rebase -r B+D1 -d E
1708 $ hg rebase -r B+D1 -d E
1709 rebasing 1:112478962961 "B" (B)
1709 rebasing 1:112478962961 B "B"
1710 note: not rebasing 5:15ecf15e0114 "D1" (book D1 tip), already in destination as 2:0807738e0be9 "D2" (D2)
1710 note: not rebasing 5:15ecf15e0114 D1 tip book "D1", already in destination as 2:0807738e0be9 D2 "D2"
1711 1 new orphan changesets
1711 1 new orphan changesets
1712 $ hg log -G -T '{desc} {bookmarks}'
1712 $ hg log -G -T '{desc} {bookmarks}'
1713 @ B book
1713 @ B book
@@ -1819,7 +1819,7 b' Also test --continue for the above case'
1819 continue: hg rebase --continue
1819 continue: hg rebase --continue
1820 $ hg rebase --continue
1820 $ hg rebase --continue
1821 rebasing 1:2ec65233581b "B"
1821 rebasing 1:2ec65233581b "B"
1822 rebasing 3:7829726be4dc "C" (tip)
1822 rebasing 3:7829726be4dc tip "C"
1823 $ hg log -G
1823 $ hg log -G
1824 @ 5:1964d5d5b547 C
1824 @ 5:1964d5d5b547 C
1825 |
1825 |
@@ -2112,9 +2112,9 b' Test --stop moves bookmarks of original '
2112 o 0: 1994f17a630e 'A' bookmarks:
2112 o 0: 1994f17a630e 'A' bookmarks:
2113
2113
2114 $ hg rebase -s 1 -d 5
2114 $ hg rebase -s 1 -d 5
2115 rebasing 1:6c81ed0049f8 "B" (X)
2115 rebasing 1:6c81ed0049f8 X "B"
2116 rebasing 2:49cb3485fa0c "C" (Y)
2116 rebasing 2:49cb3485fa0c Y "C"
2117 rebasing 3:67a385d4e6f2 "D" (Z)
2117 rebasing 3:67a385d4e6f2 Z "D"
2118 merging d
2118 merging d
2119 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
2119 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
2120 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
2120 unresolved conflicts (see 'hg resolve', then 'hg rebase --continue')
@@ -451,8 +451,8 b' Test --tool parameter:'
451 $ cd b1
451 $ cd b1
452
452
453 $ hg rebase -s 2 -d 1 --tool internal:local
453 $ hg rebase -s 2 -d 1 --tool internal:local
454 rebasing 2:e4e3f3546619 "c2b" (tip)
454 rebasing 2:e4e3f3546619 tip "c2b"
455 note: not rebasing 2:e4e3f3546619 "c2b" (tip), its destination already has all its changes
455 note: not rebasing 2:e4e3f3546619 tip "c2b", its destination already has all its changes
456 saved backup bundle to $TESTTMP/b1/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg
456 saved backup bundle to $TESTTMP/b1/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg
457
457
458 $ hg cat c2
458 $ hg cat c2
@@ -465,7 +465,7 b' Test --tool parameter:'
465 $ cd b2
465 $ cd b2
466
466
467 $ hg rebase -s 2 -d 1 --tool internal:other
467 $ hg rebase -s 2 -d 1 --tool internal:other
468 rebasing 2:e4e3f3546619 "c2b" (tip)
468 rebasing 2:e4e3f3546619 tip "c2b"
469 saved backup bundle to $TESTTMP/b2/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg
469 saved backup bundle to $TESTTMP/b2/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg
470
470
471 $ hg cat c2
471 $ hg cat c2
@@ -478,7 +478,7 b' Test --tool parameter:'
478 $ cd b3
478 $ cd b3
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 tip "c2b"
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
@@ -502,8 +502,8 b' Test --tool parameter:'
502 (continue: hg rebase --continue)
502 (continue: hg rebase --continue)
503 [255]
503 [255]
504 $ hg rebase -c --tool internal:fail
504 $ hg rebase -c --tool internal:fail
505 rebasing 2:e4e3f3546619 "c2b" (tip)
505 rebasing 2:e4e3f3546619 tip "c2b"
506 note: not rebasing 2:e4e3f3546619 "c2b" (tip), its destination already has all its changes
506 note: not rebasing 2:e4e3f3546619 tip "c2b", its destination already has all its changes
507 saved backup bundle to $TESTTMP/b3/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg
507 saved backup bundle to $TESTTMP/b3/.hg/strip-backup/e4e3f3546619-b0841178-rebase.hg
508
508
509 $ hg rebase -i
509 $ hg rebase -i
@@ -35,8 +35,8 b' Rebase two commits, of which one is alre'
35 > |/
35 > |/
36 > A
36 > A
37 > EOF
37 > EOF
38 rebasing 2:b18e25de2cf5 "D" (D)
38 rebasing 2:b18e25de2cf5 D "D"
39 already rebased 3:26805aba1e60 "C" (C tip)
39 already rebased 3:26805aba1e60 C tip "C"
40 o 4: fe3b4c6498fa D
40 o 4: fe3b4c6498fa D
41 |
41 |
42 | o 3: 26805aba1e60 C
42 | o 3: 26805aba1e60 C
@@ -56,8 +56,8 b' Can collapse commits even if one is alre'
56 > |/
56 > |/
57 > A
57 > A
58 > EOF
58 > EOF
59 rebasing 2:b18e25de2cf5 "D" (D)
59 rebasing 2:b18e25de2cf5 D "D"
60 rebasing 3:26805aba1e60 "C" (C tip)
60 rebasing 3:26805aba1e60 C tip "C"
61 o 4: a2493f4ace65 Collapsed revision
61 o 4: a2493f4ace65 Collapsed revision
62 | * D
62 | * D
63 | * C
63 | * C
@@ -81,7 +81,7 b" Abort doesn't lose the commits that were"
81 > A
81 > A
82 > EOF
82 > EOF
83 $ hg rebase -r C+D -d B
83 $ hg rebase -r C+D -d B
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')
@@ -111,8 +111,8 b' the hole (B below), not on top of the de'
111 > |
111 > |
112 > A
112 > A
113 > EOF
113 > EOF
114 already rebased 1:112478962961 "B" (B)
114 already rebased 1:112478962961 B "B"
115 rebasing 3:f585351a92f8 "D" (D tip)
115 rebasing 3:f585351a92f8 D tip "D"
116 o 4: 1e6da8103bc7 D
116 o 4: 1e6da8103bc7 D
117 |
117 |
118 | x 3: f585351a92f8 D
118 | x 3: f585351a92f8 D
@@ -60,7 +60,7 b' Rename is tracked:'
60 Rebase the revision containing the rename:
60 Rebase the revision containing the rename:
61
61
62 $ hg rebase -s 3 -d 2
62 $ hg rebase -s 3 -d 2
63 rebasing 3:73a3ee40125d "rename A" (tip)
63 rebasing 3:73a3ee40125d tip "rename A"
64 saved backup bundle to $TESTTMP/a/.hg/strip-backup/73a3ee40125d-1d78ebcf-rebase.hg
64 saved backup bundle to $TESTTMP/a/.hg/strip-backup/73a3ee40125d-1d78ebcf-rebase.hg
65
65
66 $ hg tglog
66 $ hg tglog
@@ -134,8 +134,8 b' Rebased revision does not contain inform'
134 o 0: 1994f17a630e 'A'
134 o 0: 1994f17a630e 'A'
135
135
136 $ hg rebase -s 5 -d 4
136 $ hg rebase -s 5 -d 4
137 rebasing 5:af8ad1f97097 "E" (tip)
137 rebasing 5:af8ad1f97097 tip "E"
138 note: not rebasing 5:af8ad1f97097 "E" (tip), its destination already has all its changes
138 note: not rebasing 5:af8ad1f97097 tip "E", its destination already has all its changes
139 saved backup bundle to $TESTTMP/a/.hg/strip-backup/af8ad1f97097-c3e90708-rebase.hg
139 saved backup bundle to $TESTTMP/a/.hg/strip-backup/af8ad1f97097-c3e90708-rebase.hg
140 $ hg tglog
140 $ hg tglog
141 @ 4: 60f545c27784 'E'
141 @ 4: 60f545c27784 'E'
@@ -207,7 +207,7 b' Copy is tracked:'
207 Rebase the revision containing the copy:
207 Rebase the revision containing the copy:
208
208
209 $ hg rebase -s 3 -d 2
209 $ hg rebase -s 3 -d 2
210 rebasing 3:0a8162ff18a8 "copy A" (tip)
210 rebasing 3:0a8162ff18a8 tip "copy A"
211 saved backup bundle to $TESTTMP/b/.hg/strip-backup/0a8162ff18a8-dd06302a-rebase.hg
211 saved backup bundle to $TESTTMP/b/.hg/strip-backup/0a8162ff18a8-dd06302a-rebase.hg
212
212
213 $ hg tglog
213 $ hg tglog
@@ -291,7 +291,7 b' Test rebase across repeating renames:'
291
291
292
292
293 $ hg rebase -s 4 -d 3
293 $ hg rebase -s 4 -d 3
294 rebasing 4:b918d683b091 "Another unrelated change" (tip)
294 rebasing 4:b918d683b091 tip "Another unrelated change"
295 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/b918d683b091-3024bc57-rebase.hg
295 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/b918d683b091-3024bc57-rebase.hg
296
296
297 $ hg diff --stat -c .
297 $ hg diff --stat -c .
@@ -170,7 +170,7 b' F onto E - rebase of a branching point ('
170 rebasing 5:24b6387c8c8c "F"
170 rebasing 5:24b6387c8c8c "F"
171 rebasing 6:eea13746799a "G"
171 rebasing 6:eea13746799a "G"
172 note: not rebasing 6:eea13746799a "G", its destination already has all its changes
172 note: not rebasing 6:eea13746799a "G", its destination already has all its changes
173 rebasing 7:02de42196ebe "H" (tip)
173 rebasing 7:02de42196ebe tip "H"
174 saved backup bundle to $TESTTMP/a4/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg
174 saved backup bundle to $TESTTMP/a4/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg
175
175
176 $ hg tglog
176 $ hg tglog
@@ -228,7 +228,7 b' F onto B - G maintains E as parent:'
228 $ hg rebase -s 5 -d 1
228 $ hg rebase -s 5 -d 1
229 rebasing 5:24b6387c8c8c "F"
229 rebasing 5:24b6387c8c8c "F"
230 rebasing 6:eea13746799a "G"
230 rebasing 6:eea13746799a "G"
231 rebasing 7:02de42196ebe "H" (tip)
231 rebasing 7:02de42196ebe tip "H"
232 saved backup bundle to $TESTTMP/a6/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg
232 saved backup bundle to $TESTTMP/a6/.hg/strip-backup/24b6387c8c8c-c3fe765d-rebase.hg
233
233
234 $ hg tglog
234 $ hg tglog
@@ -339,32 +339,32 b' Check rebasing public changeset'
339
339
340 $ hg rebase -d 5 -b 6 --keep
340 $ hg rebase -d 5 -b 6 --keep
341 rebasing 6:e1c4361dd923 "C"
341 rebasing 6:e1c4361dd923 "C"
342 rebasing 7:c9659aac0000 "D" (tip)
342 rebasing 7:c9659aac0000 tip "D"
343
343
344 Check rebasing mutable changeset
344 Check rebasing mutable changeset
345 Source phase greater or equal to destination phase: new changeset get the phase of source:
345 Source phase greater or equal to destination phase: new changeset get the phase of source:
346 $ hg id -n
346 $ hg id -n
347 5
347 5
348 $ hg rebase -s9 -d0
348 $ hg rebase -s9 -d0
349 rebasing 9:2b23e52411f4 "D" (tip)
349 rebasing 9:2b23e52411f4 tip "D"
350 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2b23e52411f4-f942decf-rebase.hg
350 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2b23e52411f4-f942decf-rebase.hg
351 $ hg id -n # check we updated back to parent
351 $ hg id -n # check we updated back to parent
352 5
352 5
353 $ hg log --template "{phase}\n" -r 9
353 $ hg log --template "{phase}\n" -r 9
354 draft
354 draft
355 $ hg rebase -s9 -d1
355 $ hg rebase -s9 -d1
356 rebasing 9:2cb10d0cfc6c "D" (tip)
356 rebasing 9:2cb10d0cfc6c tip "D"
357 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2cb10d0cfc6c-ddb0f256-rebase.hg
357 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2cb10d0cfc6c-ddb0f256-rebase.hg
358 $ hg log --template "{phase}\n" -r 9
358 $ hg log --template "{phase}\n" -r 9
359 draft
359 draft
360 $ hg phase --force --secret 9
360 $ hg phase --force --secret 9
361 $ hg rebase -s9 -d0
361 $ hg rebase -s9 -d0
362 rebasing 9:c5b12b67163a "D" (tip)
362 rebasing 9:c5b12b67163a tip "D"
363 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/c5b12b67163a-4e372053-rebase.hg
363 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/c5b12b67163a-4e372053-rebase.hg
364 $ hg log --template "{phase}\n" -r 9
364 $ hg log --template "{phase}\n" -r 9
365 secret
365 secret
366 $ hg rebase -s9 -d1
366 $ hg rebase -s9 -d1
367 rebasing 9:2a0524f868ac "D" (tip)
367 rebasing 9:2a0524f868ac tip "D"
368 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2a0524f868ac-cefd8574-rebase.hg
368 saved backup bundle to $TESTTMP/a7/.hg/strip-backup/2a0524f868ac-cefd8574-rebase.hg
369 $ hg log --template "{phase}\n" -r 9
369 $ hg log --template "{phase}\n" -r 9
370 secret
370 secret
@@ -461,7 +461,7 b' Source on have two descendant heads but '
461 rebasing 3:ffd453c31098 "D"
461 rebasing 3:ffd453c31098 "D"
462 rebasing 6:3d8a618087a7 "G"
462 rebasing 6:3d8a618087a7 "G"
463 rebasing 7:72434a4e60b0 "H"
463 rebasing 7:72434a4e60b0 "H"
464 rebasing 8:479ddb54a924 "I" (tip)
464 rebasing 8:479ddb54a924 tip "I"
465 $ hg tglog
465 $ hg tglog
466 o 13: 9bf1d9358a90 'I'
466 o 13: 9bf1d9358a90 'I'
467 |
467 |
@@ -506,7 +506,7 b' Base on have one descendant heads we ask'
506 rebasing 3:ffd453c31098 "D"
506 rebasing 3:ffd453c31098 "D"
507 rebasing 6:3d8a618087a7 "G"
507 rebasing 6:3d8a618087a7 "G"
508 rebasing 7:72434a4e60b0 "H"
508 rebasing 7:72434a4e60b0 "H"
509 rebasing 8:479ddb54a924 "I" (tip)
509 rebasing 8:479ddb54a924 tip "I"
510 $ hg tglog
510 $ hg tglog
511 o 12: 9d7da0053b1c 'I'
511 o 12: 9d7da0053b1c 'I'
512 |
512 |
@@ -632,7 +632,7 b' rebase on ancestor with revset'
632 $ hg rebase -r '6::' -d 2
632 $ hg rebase -r '6::' -d 2
633 rebasing 6:3d8a618087a7 "G"
633 rebasing 6:3d8a618087a7 "G"
634 rebasing 7:72434a4e60b0 "H"
634 rebasing 7:72434a4e60b0 "H"
635 rebasing 8:479ddb54a924 "I" (tip)
635 rebasing 8:479ddb54a924 tip "I"
636 saved backup bundle to $TESTTMP/ah5/.hg/strip-backup/3d8a618087a7-b4f73f31-rebase.hg
636 saved backup bundle to $TESTTMP/ah5/.hg/strip-backup/3d8a618087a7-b4f73f31-rebase.hg
637 $ hg tglog
637 $ hg tglog
638 o 8: fcb52e68a694 'I'
638 o 8: fcb52e68a694 'I'
@@ -667,7 +667,7 b' We would expect heads are I, F if it was'
667 rebasing 5:41bfcc75ed73 "F"
667 rebasing 5:41bfcc75ed73 "F"
668 rebasing 6:3d8a618087a7 "G"
668 rebasing 6:3d8a618087a7 "G"
669 rebasing 7:72434a4e60b0 "H"
669 rebasing 7:72434a4e60b0 "H"
670 rebasing 8:479ddb54a924 "I" (tip)
670 rebasing 8:479ddb54a924 tip "I"
671 saved backup bundle to $TESTTMP/ah6/.hg/strip-backup/3d8a618087a7-aae93a24-rebase.hg
671 saved backup bundle to $TESTTMP/ah6/.hg/strip-backup/3d8a618087a7-aae93a24-rebase.hg
672 $ hg tglog
672 $ hg tglog
673 o 8: 9136df9a87cf 'I'
673 o 8: 9136df9a87cf 'I'
@@ -736,7 +736,7 b' each root have a different common ancest'
736
736
737 $ hg rebase --dest 'desc(G)' --rev 'desc(K) + desc(I)'
737 $ hg rebase --dest 'desc(G)' --rev 'desc(K) + desc(I)'
738 rebasing 8:e7ec4e813ba6 "I"
738 rebasing 8:e7ec4e813ba6 "I"
739 rebasing 10:23a4ace37988 "K" (tip)
739 rebasing 10:23a4ace37988 tip "K"
740 saved backup bundle to $TESTTMP/a8/.hg/strip-backup/23a4ace37988-b06984b3-rebase.hg
740 saved backup bundle to $TESTTMP/a8/.hg/strip-backup/23a4ace37988-b06984b3-rebase.hg
741 $ hg log --rev 'children(desc(G))'
741 $ hg log --rev 'children(desc(G))'
742 changeset: 9:adb617877056
742 changeset: 9:adb617877056
@@ -803,7 +803,7 b' Test that rebase is not confused by $CWD'
803 rebasing 2:779a07b1b7a0 "first source commit"
803 rebasing 2:779a07b1b7a0 "first source commit"
804 current directory was removed (rmcwd !)
804 current directory was removed (rmcwd !)
805 (consider changing to repo root: $TESTTMP/cwd-vanish) (rmcwd !)
805 (consider changing to repo root: $TESTTMP/cwd-vanish) (rmcwd !)
806 rebasing 3:a7d6f3a00bf3 "second source with subdir" (tip)
806 rebasing 3:a7d6f3a00bf3 tip "second source with subdir"
807 saved backup bundle to $TESTTMP/cwd-vanish/.hg/strip-backup/779a07b1b7a0-853e0073-rebase.hg
807 saved backup bundle to $TESTTMP/cwd-vanish/.hg/strip-backup/779a07b1b7a0-853e0073-rebase.hg
808
808
809 Get back to the root of cwd-vanish. Note that even though `cd ..`
809 Get back to the root of cwd-vanish. Note that even though `cd ..`
@@ -979,7 +979,7 b' Testing rebase being called inside anoth'
979 > EOS
979 > EOS
980
980
981 $ hg rebase -s C -d B
981 $ hg rebase -s C -d B
982 rebasing 2:dc0947a82db8 "C" (C tip)
982 rebasing 2:dc0947a82db8 C tip "C"
983
983
984 $ [ -f .hg/rebasestate ] && echo 'WRONG: rebasestate should not exist'
984 $ [ -f .hg/rebasestate ] && echo 'WRONG: rebasestate should not exist'
985 [1]
985 [1]
@@ -103,8 +103,8 b' continued'
103 > A
103 > A
104 > EOF
104 > EOF
105 $ hg rebase --collapse -b D -d Z
105 $ hg rebase --collapse -b D -d Z
106 rebasing 1:112478962961 "B" (B)
106 rebasing 1:112478962961 B "B"
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')
@@ -132,9 +132,9 b' continued'
132 (no more unresolved files)
132 (no more unresolved files)
133 continue: hg rebase --continue
133 continue: hg rebase --continue
134 $ hg continue
134 $ hg continue
135 already rebased 1:112478962961 "B" (B) as 79bc8f4973ce
135 already rebased 1:112478962961 B "B" as 79bc8f4973ce
136 rebasing 3:c26739dbe603 "C" (C)
136 rebasing 3:c26739dbe603 C "C"
137 rebasing 5:d24bb333861c "D" (D tip)
137 rebasing 5:d24bb333861c D tip "D"
138 saved backup bundle to $TESTTMP/collapse-conflict/.hg/strip-backup/112478962961-b5b34645-rebase.hg
138 saved backup bundle to $TESTTMP/collapse-conflict/.hg/strip-backup/112478962961-b5b34645-rebase.hg
139 $ hg tglog
139 $ hg tglog
140 o 3: Collapsed revision
140 o 3: Collapsed revision
@@ -165,9 +165,9 b' rebase can then be continued'
165 > A
165 > A
166 > EOF
166 > EOF
167 $ HGEDITOR=false hg --config ui.interactive=1 rebase --collapse -b D -d Z
167 $ HGEDITOR=false hg --config ui.interactive=1 rebase --collapse -b D -d Z
168 rebasing 1:112478962961 "B" (B)
168 rebasing 1:112478962961 B "B"
169 rebasing 3:26805aba1e60 "C" (C)
169 rebasing 3:26805aba1e60 C "C"
170 rebasing 5:f585351a92f8 "D" (D tip)
170 rebasing 5:f585351a92f8 D tip "D"
171 transaction abort!
171 transaction abort!
172 rollback completed
172 rollback completed
173 abort: edit failed: false exited with status 1
173 abort: edit failed: false exited with status 1
@@ -186,9 +186,9 b' rebase can then be continued'
186 o 0: A
186 o 0: A
187
187
188 $ hg continue
188 $ hg continue
189 rebasing 1:112478962961 "B" (B)
189 rebasing 1:112478962961 B "B"
190 rebasing 3:26805aba1e60 "C" (C)
190 rebasing 3:26805aba1e60 C "C"
191 rebasing 5:f585351a92f8 "D" (D tip)
191 rebasing 5:f585351a92f8 D tip "D"
192 saved backup bundle to $TESTTMP/collapse-cancel-editor/.hg/strip-backup/112478962961-cb2a9b47-rebase.hg
192 saved backup bundle to $TESTTMP/collapse-cancel-editor/.hg/strip-backup/112478962961-cb2a9b47-rebase.hg
193 $ hg tglog
193 $ hg tglog
194 o 3: Collapsed revision
194 o 3: Collapsed revision
@@ -229,7 +229,7 b''
229 .. flaky, the core the test is checked when checking the cache dir, so
229 .. flaky, the core the test is checked when checking the cache dir, so
230 .. hopefully this flakyness is not hiding any actual bug.
230 .. hopefully this flakyness is not hiding any actual bug.
231 $ hg rebase -s temporary -d foo
231 $ hg rebase -s temporary -d foo
232 rebasing 3:d9cf06e3b5b6 "b" (temporary tip)
232 rebasing 3:d9cf06e3b5b6 tip temporary "b"
233 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/d9cf06e3b5b6-e5c3dc63-rebase.hg
233 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/d9cf06e3b5b6-e5c3dc63-rebase.hg
234 ? files fetched over ? fetches - (? misses, 0.00% hit ratio) over *s (glob)
234 ? files fetched over ? fetches - (? misses, 0.00% hit ratio) over *s (glob)
235 $ find $CACHEDIR -type f | sort
235 $ find $CACHEDIR -type f | sort
@@ -32,7 +32,7 b''
32 b292c1e3311f
32 b292c1e3311f
33
33
34 $ hg rebase -d 1
34 $ hg rebase -d 1
35 rebasing 2:0632994590a8 "xx" (tip)
35 rebasing 2:0632994590a8 tip "xx"
36 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/0632994590a8-0bc786d8-rebase.hg (glob)
36 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/0632994590a8-0bc786d8-rebase.hg (glob)
37 $ hg log -f x --template "{node|short}\n"
37 $ hg log -f x --template "{node|short}\n"
38 81deab2073bc
38 81deab2073bc
@@ -41,14 +41,14 b''
41 # Rebase back, log -f still works
41 # Rebase back, log -f still works
42
42
43 $ hg rebase -d 0 -r 2
43 $ hg rebase -d 0 -r 2
44 rebasing 2:81deab2073bc "xx" (tip)
44 rebasing 2:81deab2073bc tip "xx"
45 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/81deab2073bc-80cb4fda-rebase.hg (glob)
45 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/81deab2073bc-80cb4fda-rebase.hg (glob)
46 $ hg log -f x --template "{node|short}\n"
46 $ hg log -f x --template "{node|short}\n"
47 b3fca10fb42d
47 b3fca10fb42d
48 b292c1e3311f
48 b292c1e3311f
49
49
50 $ hg rebase -d 1 -r 2
50 $ hg rebase -d 1 -r 2
51 rebasing 2:b3fca10fb42d "xx" (tip)
51 rebasing 2:b3fca10fb42d tip "xx"
52 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/b3fca10fb42d-da73a0c7-rebase.hg (glob)
52 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/b3fca10fb42d-da73a0c7-rebase.hg (glob)
53
53
54 $ cd ..
54 $ cd ..
@@ -99,4 +99,4 b' pulled'
99 $ hg prefetch -r '. + .^' -I x -I z
99 $ hg prefetch -r '. + .^' -I x -I z
100 4 files fetched over 1 fetches - (4 misses, 0.00% hit ratio) over * (glob)
100 4 files fetched over 1 fetches - (4 misses, 0.00% hit ratio) over * (glob)
101 $ hg rebase -d 2 --keep
101 $ hg rebase -d 2 --keep
102 rebasing 1:876b1317060d "x2" (foo)
102 rebasing 1:876b1317060d foo "x2"
@@ -54,7 +54,7 b' shelve should leave dirstate clean (issu'
54 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
54 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
55
55
56 $ hg rebase -d 6c103be8f4e4 --config extensions.rebase=
56 $ hg rebase -d 6c103be8f4e4 --config extensions.rebase=
57 rebasing 2:323bfa07f744 "xyz"( \(tip\))? (re)
57 rebasing 2:323bfa07f744( tip)? "xyz" (re)
58 merging x
58 merging x
59 saved backup bundle to \$TESTTMP/shelverebase/.hg/strip-backup/323bfa07f744-(78114325|7ae538ef)-rebase.hg (re)
59 saved backup bundle to \$TESTTMP/shelverebase/.hg/strip-backup/323bfa07f744-(78114325|7ae538ef)-rebase.hg (re)
60 $ hg unshelve
60 $ hg unshelve
@@ -196,7 +196,7 b' For now, manually remove the files'
196 Verify rebase temporarily includes excluded files
196 Verify rebase temporarily includes excluded files
197
197
198 $ hg rebase -d 1 -r 2 --config extensions.rebase=
198 $ hg rebase -d 1 -r 2 --config extensions.rebase=
199 rebasing 2:b91df4f39e75 "edit hide" (tip)
199 rebasing 2:b91df4f39e75 tip "edit hide"
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')
@@ -279,7 +279,7 b' Verify rebase succeeds if all changed fi'
279
279
280 $ hg commit -Aqm "add show2"
280 $ hg commit -Aqm "add show2"
281 $ hg rebase -d 1 --config extensions.rebase=
281 $ hg rebase -d 1 --config extensions.rebase=
282 rebasing 2:bdde55290160 "add show2" (tip)
282 rebasing 2:bdde55290160 tip "add show2"
283 saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/bdde55290160-216ed9c6-rebase.hg
283 saved backup bundle to $TESTTMP/myrepo/.hg/strip-backup/bdde55290160-216ed9c6-rebase.hg
284
284
285 Verify log --sparse only shows commits that affect the sparse checkout
285 Verify log --sparse only shows commits that affect the sparse checkout
@@ -368,9 +368,9 b' Split a non-head'
368 $ cp -R . ../d
368 $ cp -R . ../d
369
369
370 $ runsplit -r 1 | grep rebasing
370 $ runsplit -r 1 | grep rebasing
371 rebasing 2:b5c5ea414030 "d1" (d1)
371 rebasing 2:b5c5ea414030 d1 "d1"
372 rebasing 3:f4a0a8d004cc "d2" (d2)
372 rebasing 3:f4a0a8d004cc d2 "d2"
373 rebasing 4:777940761eba "d3" (d3)
373 rebasing 4:777940761eba d3 "d3"
374 #if obsstore-off
374 #if obsstore-off
375 $ hg bookmark
375 $ hg bookmark
376 d1 4:c4b449ef030e
376 d1 4:c4b449ef030e
General Comments 0
You need to be logged in to leave comments. Login now