# HG changeset patch # User Luke Granger-Brown # Date 1647277541 0 # Node ID f1d4c9eddcc138fc7cdf577e055356bafa4c6371 # Parent 4a837da84f5f9acd0b525bedc89617bf87427100 tests: use desc() revset instead of node hashes in test-evolve-continue.t Using desc() makes the tests less fragile if new steps are inserted, since the test output can be more easily regenerated rather than having to go and find all of the commit hashes in the input to replace them. diff -r 4a837da84f5f -r f1d4c9eddcc1 tests/test-evolve-continue.t --- a/tests/test-evolve-continue.t Sun Mar 06 17:44:11 2022 +0300 +++ b/tests/test-evolve-continue.t Mon Mar 14 17:05:41 2022 +0000 @@ -41,7 +41,7 @@ Simple case of evolve --continue - $ hg up ca1b80f7960a + $ hg up 'desc("added c")' 0 files updated, 0 files merged, 1 files removed, 0 files unresolved $ echo bar > d $ hg add d @@ -158,7 +158,7 @@ Case when there are a lot of revision to continue - $ hg up c7586e2a9264 + $ hg up 'desc("added a")' 0 files updated, 0 files merged, 4 files removed, 0 files unresolved $ echo bar > b $ hg add b @@ -222,7 +222,7 @@ o 0:8fa14d15e168 added hgignore () draft - $ hg up 95665a2de664 + $ hg up 'desc("added c")' 1 files updated, 0 files merged, 4 files removed, 0 files unresolved $ echo bar > f @@ -308,7 +308,7 @@ o 0:8fa14d15e168 added hgignore () draft - $ hg up 5794f1a3cbb2 + $ hg up 'desc("added f")' 1 files updated, 0 files merged, 1 files removed, 0 files unresolved $ echo bar > g $ hg add g