Mercurial > evolve
diff tests/test-stack-branch.t @ 2929:06844693bb21
tests: update after removing of redundant amend commit
Following e8a7c1a0565a, temporary amend commits has been removed impacting all
revision numbers in tests including amend operations.
Update tests case to use description or hashes when possible and update
revisions number when not.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 15 Sep 2017 15:48:18 +0200 |
parents | ef4832faaf09 |
children | a61634f52742 |
line wrap: on
line diff
--- a/tests/test-stack-branch.t Wed Sep 13 15:13:51 2017 +0200 +++ b/tests/test-stack-branch.t Fri Sep 15 15:48:18 2017 +0200 @@ -110,7 +110,7 @@ $ echo bbb > ddd $ hg commit --amend $ hg log -G - @ 7 foo {} draft c_d + @ 6 foo {} draft c_d | | o 5 foo {} draft c_f | | @@ -147,7 +147,7 @@ $ hg log -r 'stack()' 2 foo {} draft c_c - 7 foo {} draft c_d + 6 foo {} draft c_d 4 foo {} draft c_e 5 foo {} draft c_f @@ -160,11 +160,11 @@ rebasing 4:4f2a69f6d380 "c_e" rebasing 5:913c298d8b0a "c_f" $ hg log -G - o 9 foo {} draft c_f + o 8 foo {} draft c_f | - o 8 foo {} draft c_e + o 7 foo {} draft c_e | - @ 7 foo {} draft c_d + @ 6 foo {} draft c_d | o 2 foo {} draft c_c | @@ -185,15 +185,15 @@ $ hg add hhh $ hg commit -m c_h $ hg log -G - @ 11 foo {} draft c_h + @ 10 foo {} draft c_h | - o 10 foo {} draft c_g + o 9 foo {} draft c_g | - | o 9 foo {} draft c_f + | o 8 foo {} draft c_f | | - | o 8 foo {} draft c_e + | o 7 foo {} draft c_e |/ - o 7 foo {} draft c_d + o 6 foo {} draft c_d | o 2 foo {} draft c_c | @@ -206,11 +206,11 @@ $ hg stack ### branch: foo (2 heads) - b6: c_f - b5: c_e + b6@ c_h (current) + b5: c_g b2^ c_d (base) - b4@ c_h (current) - b3: c_g + b4: c_f + b3: c_e b2: c_d b1: c_c b0^ c_b (base) @@ -225,20 +225,20 @@ $ echo ccc > ddd $ hg commit --amend -m 'c_D' $ hg rebase -d . -s 'desc(c_g)' - rebasing 10:2ebb6e48ab8a "c_g" - rebasing 11:634f38e27a1d "c_h" + rebasing 9:2ebb6e48ab8a "c_g" + rebasing 10:634f38e27a1d "c_h" $ hg log -G - o 15 foo {} draft c_h + o 13 foo {} draft c_h | - o 14 foo {} draft c_g + o 12 foo {} draft c_g | - @ 13 foo {} draft c_D + @ 11 foo {} draft c_D | - | o 9 foo {} draft c_f + | o 8 foo {} draft c_f | | - | o 8 foo {} draft c_e + | o 7 foo {} draft c_e | | - | x 7 foo {} draft c_d + | x 6 foo {} draft c_d |/ o 2 foo {} draft c_c | @@ -249,11 +249,11 @@ $ hg stack ### branch: foo (2 heads) - b6$ c_f (unstable) - b5$ c_e (unstable) + b6: c_h + b5: c_g b2^ c_D (base) - b4: c_h - b3: c_g + b4$ c_f (unstable) + b3$ c_e (unstable) b2@ c_D (current) b1: c_c b0^ c_b (base) @@ -262,17 +262,17 @@ ---------------------------------------------------------- $ hg log --graph - o 15 foo {} draft c_h + o 13 foo {} draft c_h | - o 14 foo {} draft c_g + o 12 foo {} draft c_g | - @ 13 foo {} draft c_D + @ 11 foo {} draft c_D | - | o 9 foo {} draft c_f + | o 8 foo {} draft c_f | | - | o 8 foo {} draft c_e + | o 7 foo {} draft c_e | | - | x 7 foo {} draft c_d + | x 6 foo {} draft c_d |/ o 2 foo {} draft c_c | @@ -283,22 +283,22 @@ $ hg stack ### branch: foo (2 heads) - b6$ c_f (unstable) - b5$ c_e (unstable) + b6: c_h + b5: c_g b2^ c_D (base) - b4: c_h - b3: c_g + b4$ c_f (unstable) + b3$ c_e (unstable) b2@ c_D (current) b1: c_c b0^ c_b (base) $ hg phase --public b1 $ hg stack ### branch: foo (2 heads) - b5$ c_f (unstable) - b4$ c_e (unstable) + b5: c_h + b4: c_g b1^ c_D (base) - b3: c_h - b2: c_g + b3$ c_f (unstable) + b2$ c_e (unstable) b1@ c_D (current) b0^ c_c (base) @@ -309,7 +309,7 @@ changed topic on 2 changes $ hg stack ### branch: foo - b3: c_h - b2: c_g + b3$ c_f (unstable) + b2$ c_e (unstable) b1@ c_D (current) b0^ c_c (base)