Mercurial > hg
changeset 42908:f78f7448a969
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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 17 Dec 2018 10:27:00 -0800 |
parents | 92593d72e10b |
children | 32fdbc952bdd |
files | tests/test-strip-cross.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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