test: do not use revision number
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 21 Mar 2018 17:59:15 +0100
changeset 3580 031d70bcbb42
parent 3579 3a4552b30ba8
child 3581 846f7d4fe47e
test: do not use revision number This get confused with older version.
tests/test-evolve-topic.t
tests/test-topic-change.t
--- a/tests/test-evolve-topic.t	Wed Mar 21 19:30:51 2018 +0100
+++ b/tests/test-evolve-topic.t	Wed Mar 21 17:59:15 2018 +0100
@@ -335,7 +335,7 @@
   1 new orphan changesets
   rebasing 17:9bf430c106b7 "add jjj" (bar)
   1 new orphan changesets
-  $ hg log -Gr 12::
+  $ hg log -Gr 42b49017ff90::
   *  21 - {bar} 7542e76aba2c add jjj (draft)
   |
   *  20 - {bar} 7858bd7e9906 add iii (draft)
--- a/tests/test-topic-change.t	Wed Mar 21 19:30:51 2018 +0100
+++ b/tests/test-topic-change.t	Wed Mar 21 17:59:15 2018 +0100
@@ -98,7 +98,7 @@
      foo (8 changesets)
 Changing topics on some revisions (also testing issue 5441)
 
-  $ hg topic -r 12:: bar
+  $ hg topic -r abcedffeae90:: bar
   switching to topic bar
   changed topic on 4 changes
   $ hg glog