Skip to content
Snippets Groups Projects
Commit d7f80dbbaf49 authored by Nicolas Dumazet's avatar Nicolas Dumazet
Browse files

tests: simplify test-rebase-named-branches

We were cloning a repo to perform a smoke test that could
have been performed earlier.
parent 624e5ce615ec
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,12 @@
|/
o 0: 'A'
$ hg rebase -s 7 -d 8
abort: source is ancestor of destination
[255]
$ hg rebase -s 8 -d 7
saved backup bundle to $TESTTMP/a1/.hg/strip-backup/*-backup.hg (glob)
......@@ -114,44 +120,3 @@
$ cd ..
Rebasing ancestor onto descendant across different named branches
$ hg clone -q -u . a a3
$ cd a3
$ hg branch dev
marked working directory as branch dev
$ echo x > x
$ hg add x
$ hg ci -m 'extra named branch'
$ hg tglog
@ 8: 'extra named branch' dev
|
o 7: 'H'
|
| o 6: 'G'
|/|
o | 5: 'F'
| |
| o 4: 'E'
|/
| o 3: 'D'
| |
| o 2: 'C'
| |
| o 1: 'B'
|/
o 0: 'A'
$ hg rebase -s 7 -d 8
abort: source is ancestor of destination
[255]
$ cd ..
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment