Mercurial > hg
comparison tests/test-strip-cross.t @ 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 | f1186c292d03 |
children | 32fdbc952bdd |
comparison
equal
deleted
inserted
replaced
42907:92593d72e10b | 42908:f78f7448a969 |
---|---|
29 $ commit '201 210' '021 120' '012 102' | 29 $ commit '201 210' '021 120' '012 102' |
30 $ HGUSER=another-user; export HGUSER | 30 $ HGUSER=another-user; export HGUSER |
31 $ commit 'manifest-file' | 31 $ commit 'manifest-file' |
32 $ commit '012' 'manifest-file' | 32 $ commit '012' 'manifest-file' |
33 $ cd .. | 33 $ cd .. |
34 $ hg clone -q -U -r -1 -r -2 -r -3 -r -4 -r -6 orig crossed | 34 $ hg clone -q -U -r 4 -r 6 -r 7 -r 8 -r 9 orig crossed |
35 $ cd crossed | 35 $ cd crossed |
36 $ hg debugindex --manifest | 36 $ hg debugindex --manifest |
37 rev linkrev nodeid p1 p2 | 37 rev linkrev nodeid p1 p2 |
38 0 0 6f105cbb914d 000000000000 000000000000 | 38 0 0 6f105cbb914d 000000000000 000000000000 |
39 1 3 1b55917b3699 000000000000 000000000000 | 39 1 3 1b55917b3699 000000000000 000000000000 |