Mercurial > hg
annotate tests/test-ssh-clone-r.t @ 25591:f1d46075b13a
verify: check the subrepository references in .hgsubstate
While hopefully atypical, there are reasons that a subrepository revision can be
lost that aren't covered by corruption of the .hgsubstate revlog. Such things
can happen when a subrepo is amended, stripped or simply isn't pulled from
upstream because the parent repo revision wasn't updated yet. There's no way to
know if it is an error, but this will find potential problems sooner than when
some random revision is updated.
Until recently, convert made no attempt at rewriting the .hgsubstate file. The
impetuous for this is to verify the conversion of some repositories, and this is
orders of magnitude faster than a bash script from 0..tip that does an
'hg update -C $rev'. But it is equally useful to determine if everything has
been pulled down before taking a thumb drive on the go.
It feels somewhat wrong to leave this out of verifymod (mostly because the file
is already read in there, and the final summary is printed before the subrepos
are checked). But verifymod looks very low level, so importing subrepo stuff
there seems more wrong.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 16 Jun 2015 16:15:15 -0400 |
parents | c63bf97cf7c7 |
children | 2428e8ec0793 |
rev | line source |
---|---|
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
1 This test tries to exercise the ssh functionality with a dummy script |
3449
c8686e3f0291
Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff
changeset
|
2 |
14186
8513bd2e7259
tests: share dummyssh
Mads Kiilerich <mads@kiilerich.com>
parents:
14117
diff
changeset
|
3 creating 'remote' repo |
4299
6b1e1b9da853
test-ssh-clone-r: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
3853
diff
changeset
|
4 |
14117
07708f4171f1
tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
13742
diff
changeset
|
5 $ hg init remote |
07708f4171f1
tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
13742
diff
changeset
|
6 $ cd remote |
16350
4f795f5fbb0b
tests: make tests work if directory contains special characters
Thomas Arendsen Hein <thomas@intevation.de>
parents:
14186
diff
changeset
|
7 $ hg unbundle "$TESTDIR/bundles/remote.hg" |
14117
07708f4171f1
tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
13742
diff
changeset
|
8 adding changesets |
07708f4171f1
tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
13742
diff
changeset
|
9 adding manifests |
07708f4171f1
tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
13742
diff
changeset
|
10 adding file changes |
07708f4171f1
tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
13742
diff
changeset
|
11 added 9 changesets with 7 changes to 4 files (+1 heads) |
07708f4171f1
tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
13742
diff
changeset
|
12 (run 'hg heads' to see heads, 'hg merge' to merge) |
07708f4171f1
tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
13742
diff
changeset
|
13 $ hg up tip |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
14 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
15 $ cd .. |
3449
c8686e3f0291
Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff
changeset
|
16 |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
17 clone remote via stream |
3449
c8686e3f0291
Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff
changeset
|
18 |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
19 $ for i in 0 1 2 3 4 5 6 7 8; do |
25495
c63bf97cf7c7
tests: restore 'python' and '$TESTDIR/' for dummyssh invocation
Matt Harbison <matt_harbison@yahoo.com>
parents:
25476
diff
changeset
|
20 > hg clone -e "python \"$TESTDIR/dummyssh\"" --uncompressed -r "$i" ssh://user@dummy/remote test-"$i" |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
21 > if cd test-"$i"; then |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
22 > hg verify |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
23 > cd .. |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
24 > fi |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
25 > done |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
26 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
27 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
28 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
29 added 1 changesets with 1 changes to 1 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
30 updating to branch default |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
31 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
32 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
33 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
34 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
35 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
36 1 files, 1 changesets, 1 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
37 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
38 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
39 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
40 added 2 changesets with 2 changes to 1 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
41 updating to branch default |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
42 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
43 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
44 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
45 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
46 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
47 1 files, 2 changesets, 2 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
48 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
49 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
50 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
51 added 3 changesets with 3 changes to 1 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
52 updating to branch default |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
53 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
54 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
55 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
56 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
57 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
58 1 files, 3 changesets, 3 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
59 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
60 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
61 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
62 added 4 changesets with 4 changes to 1 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
63 updating to branch default |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
64 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
65 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
66 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
67 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
68 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
69 1 files, 4 changesets, 4 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
70 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
71 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
72 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
73 added 2 changesets with 2 changes to 1 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
74 updating to branch default |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
75 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
76 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
77 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
78 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
79 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
80 1 files, 2 changesets, 2 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
81 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
82 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
83 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
84 added 3 changesets with 3 changes to 1 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
85 updating to branch default |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
86 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
87 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
88 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
89 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
90 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
91 1 files, 3 changesets, 3 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
92 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
93 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
94 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
95 added 4 changesets with 5 changes to 2 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
96 updating to branch default |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
97 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
98 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
99 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
100 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
101 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
102 2 files, 4 changesets, 5 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
103 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
104 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
105 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
106 added 5 changesets with 6 changes to 3 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
107 updating to branch default |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
108 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
109 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
110 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
111 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
112 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
113 3 files, 5 changesets, 6 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
114 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
115 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
116 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
117 added 5 changesets with 5 changes to 2 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
118 updating to branch default |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
119 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
120 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
121 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
122 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
123 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
124 2 files, 5 changesets, 5 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
125 $ cd test-8 |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
126 $ hg pull ../test-7 |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
127 pulling from ../test-7 |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
128 searching for changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
129 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
130 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
131 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
132 added 4 changesets with 2 changes to 3 files (+1 heads) |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
133 (run 'hg heads' to see heads, 'hg merge' to merge) |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
134 $ hg verify |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
135 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
136 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
137 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
138 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
139 4 files, 9 changesets, 7 total revisions |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
140 $ cd .. |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
141 $ cd test-1 |
25495
c63bf97cf7c7
tests: restore 'python' and '$TESTDIR/' for dummyssh invocation
Matt Harbison <matt_harbison@yahoo.com>
parents:
25476
diff
changeset
|
142 $ hg pull -e "python \"$TESTDIR/dummyssh\"" -r 4 ssh://user@dummy/remote |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
143 pulling from ssh://user@dummy/remote |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
144 searching for changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
145 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
146 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
147 adding file changes |
13742
7abab875e647
discovery: avoid discovery when local graph is a subset of remote
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
12847
diff
changeset
|
148 added 1 changesets with 0 changes to 0 files (+1 heads) |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
149 (run 'hg heads' to see heads, 'hg merge' to merge) |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
150 $ hg verify |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
151 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
152 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
153 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
154 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
155 1 files, 3 changesets, 2 total revisions |
25495
c63bf97cf7c7
tests: restore 'python' and '$TESTDIR/' for dummyssh invocation
Matt Harbison <matt_harbison@yahoo.com>
parents:
25476
diff
changeset
|
156 $ hg pull -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
157 pulling from ssh://user@dummy/remote |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
158 searching for changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
159 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
160 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
161 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
162 added 6 changesets with 5 changes to 4 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
163 (run 'hg update' to get a working copy) |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
164 $ cd .. |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
165 $ cd test-2 |
25495
c63bf97cf7c7
tests: restore 'python' and '$TESTDIR/' for dummyssh invocation
Matt Harbison <matt_harbison@yahoo.com>
parents:
25476
diff
changeset
|
166 $ hg pull -e "python \"$TESTDIR/dummyssh\"" -r 5 ssh://user@dummy/remote |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
167 pulling from ssh://user@dummy/remote |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
168 searching for changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
169 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
170 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
171 adding file changes |
13742
7abab875e647
discovery: avoid discovery when local graph is a subset of remote
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
12847
diff
changeset
|
172 added 2 changesets with 0 changes to 0 files (+1 heads) |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
173 (run 'hg heads' to see heads, 'hg merge' to merge) |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
174 $ hg verify |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
175 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
176 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
177 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
178 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
179 1 files, 5 changesets, 3 total revisions |
25495
c63bf97cf7c7
tests: restore 'python' and '$TESTDIR/' for dummyssh invocation
Matt Harbison <matt_harbison@yahoo.com>
parents:
25476
diff
changeset
|
180 $ hg pull -e "python \"$TESTDIR/dummyssh\"" ssh://user@dummy/remote |
12490
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
181 pulling from ssh://user@dummy/remote |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
182 searching for changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
183 adding changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
184 adding manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
185 adding file changes |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
186 added 4 changesets with 4 changes to 4 files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
187 (run 'hg update' to get a working copy) |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
188 $ hg verify |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
189 checking changesets |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
190 checking manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
191 crosschecking files in changesets and manifests |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
192 checking files |
8ae02203065e
tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents:
4299
diff
changeset
|
193 4 files, 9 changesets, 7 total revisions |
16913
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
16541
diff
changeset
|
194 |
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
16541
diff
changeset
|
195 $ cd .. |