# HG changeset patch # User Pierre-Yves David # Date 1505413983 -7200 # Node ID 01cf426bd4582d76c1b79eeb0af3d9167a558adb # Parent 1abafae41fe26e5b34691c84b9e2064f80e03583 tests: abstract version number for test-topic-stack.t Using explicite version number always bring trouble, this is why we have unique description that can select changesets. diff -r 1abafae41fe2 -r 01cf426bd458 tests/test-topic-stack.t --- a/tests/test-topic-stack.t Mon Aug 07 23:22:41 2017 +0900 +++ b/tests/test-topic-stack.t Thu Sep 14 20:33:03 2017 +0200 @@ -453,7 +453,7 @@ o 0 default {} public c_a Converting into a linear chain - $ hg rebase -s 8 -d 15 + $ hg rebase -s 'desc("c_e") - obsolete()' -d 'desc("c_h") - obsolete()' rebasing 8:215bc359096a "c_e" rebasing 9:ec9267b3f33f "c_f" @@ -499,11 +499,11 @@ | o 0 default {} public c_a - $ hg rebase -s 17 -d 18 + $ hg rebase -s 'desc("c_f") - obsolete()' -d 'desc("c_e") - obsolete()' rebasing 17:77082e55de88 "c_f" switching to topic foo switching to topic foobar - $ hg rebase -s 14 -d 19 + $ hg rebase -s 'desc("c_g") - obsolete()' -d 'desc("c_D") - obsolete()' rebasing 14:0c3e8aed985d "c_g" switching to topic foo rebasing 15:b9e4f3709bc5 "c_h"