# HG changeset patch # User Pierre-Yves David # Date 1508516341 -7200 # Node ID c29a19413e92d8d9beef969e1e8de7966e14719a # Parent 975f5f42a87753e92e37ca8de2567eedd796438d test: use node instead of rev in topic push tests This makes the test more stable when revision number changes. diff -r 975f5f42a877 -r c29a19413e92 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