tests: use positive revision numbers in test-strip-cross.t
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 17 Dec 2018 10:27:00 -0800
changeset 42914 f78f7448a969
parent 42913 92593d72e10b
child 42915 32fdbc952bdd
tests: use positive revision numbers in test-strip-cross.t It took me a long time to realize that '-r -1' was pulling revision -1 because I didn't even notice the minus sign until I tried changing the revision number. The order of arguments doesn't matter, so I changed from decreasing order to increasing while at it. Differential Revision: https://phab.mercurial-scm.org/D6790
tests/test-strip-cross.t
--- a/tests/test-strip-cross.t	Thu Sep 05 21:09:58 2019 -0700
+++ b/tests/test-strip-cross.t	Mon Dec 17 10:27:00 2018 -0800
@@ -31,7 +31,7 @@
   $ commit 'manifest-file'
   $ commit '012' 'manifest-file'
   $ cd ..
-  $ hg clone -q -U -r -1 -r -2 -r -3 -r -4 -r -6 orig crossed
+  $ hg clone -q -U -r 4 -r 6 -r 7 -r 8 -r 9 orig crossed
   $ cd crossed
   $ hg debugindex --manifest
      rev linkrev nodeid       p1           p2