test: use node instead of rev in topic push tests stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 20 Oct 2017 18:19:01 +0200
branchstable
changeset 3091 c29a19413e92
parent 3090 975f5f42a877
child 3092 ef38b44c08cf
test: use node instead of rev in topic push tests This makes the test more stable when revision number changes.
tests/test-topic-push.t
--- a/tests/test-topic-push.t	Fri Oct 20 17:12:03 2017 +0200
+++ b/tests/test-topic-push.t	Fri Oct 20 18:19:01 2017 +0200
@@ -212,8 +212,8 @@
   |/
   o  0 default  public CA
   
-  $ hg strip --config extensions.strip= --no-backup -r 5: --quiet
-  $ hg strip --config extensions.strip= -R $TESTTMP/draft --no-backup -r 4: --quiet
+  $ hg strip --config extensions.strip= --no-backup -r 7a9e34dbf547: --quiet
+  $ hg strip --config extensions.strip= -R $TESTTMP/draft --no-backup -r 7a9e34dbf547: --quiet
 
 Pushing a new topic to a publishing server should be seen as a new head