annotate tests/test-ssh-clone-r.t @ 14117:07708f4171f1

tests: create a bundle to bootstrap tests using a remote repository It should be faster to use a single common bundle instead of recreating 4 times the same repository manually.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sat, 30 Apr 2011 17:38:06 +0200
parents 7abab875e647
children 8513bd2e7259
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
3 $ cat <<EOF > dummyssh
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
4 > import sys
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
5 > import os
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
6 >
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
7 > os.chdir(os.path.dirname(sys.argv[0]))
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
8 > if sys.argv[1] != "user@dummy":
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
9 > sys.exit(-1)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
10 >
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
11 > if not os.path.exists("dummyssh"):
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
12 > sys.exit(-1)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
13 >
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
14 > os.environ["SSH_CLIENT"] = "127.0.0.1 1 2"
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
15 >
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
16 > log = open("dummylog", "ab")
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
17 > log.write("Got arguments")
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
18 > for i, arg in enumerate(sys.argv[1:]):
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
19 > log.write(" %d:%s" % (i+1, arg))
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
20 > log.write("\n")
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
21 > log.close()
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
22 > r = os.system(sys.argv[2])
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
23 > sys.exit(bool(r))
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
24 > EOF
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
25
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
26 creating 'remote
4299
6b1e1b9da853 test-ssh-clone-r: avoid a shell script
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3853
diff changeset
27
14117
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
28 $ 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
29 $ cd remote
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
30 $ hg unbundle $TESTDIR/bundles/remote.hg
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
31 adding changesets
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
32 adding manifests
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
33 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
34 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
35 (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
36 $ hg up tip
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
37 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
38 $ cd ..
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
39
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
40 clone remote via stream
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
41
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
42 $ for i in 0 1 2 3 4 5 6 7 8; do
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
43 > hg clone -e "python ./dummyssh" --uncompressed -r "$i" ssh://user@dummy/remote test-"$i"
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
44 > if cd test-"$i"; then
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
45 > hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
46 > cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
47 > fi
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
48 > done
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
49 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
50 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
51 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
52 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
53 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
54 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
55 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
56 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
57 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
58 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
59 1 files, 1 changesets, 1 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
60 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
61 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
62 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
63 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
64 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
65 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
66 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
67 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
68 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
69 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
70 1 files, 2 changesets, 2 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
71 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
72 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
73 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
74 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
75 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
76 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
77 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
78 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
79 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
80 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
81 1 files, 3 changesets, 3 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
82 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
83 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
84 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
85 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
86 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
87 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
88 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
89 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
90 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
91 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
92 1 files, 4 changesets, 4 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
93 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
94 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
95 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
96 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
97 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
98 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
99 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
100 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
101 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
102 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
103 1 files, 2 changesets, 2 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
104 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
105 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
106 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
107 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
108 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
109 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
110 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
111 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
112 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
113 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
114 1 files, 3 changesets, 3 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
115 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
116 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
117 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
118 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
119 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
120 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
121 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
122 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
123 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
124 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
125 2 files, 4 changesets, 5 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
126 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
127 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
128 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
129 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
130 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
131 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
132 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
133 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
134 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
135 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
136 3 files, 5 changesets, 6 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
137 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
138 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
139 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
140 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
141 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
142 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
143 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
144 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
145 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
146 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
147 2 files, 5 changesets, 5 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
148 $ cd test-8
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
149 $ hg pull ../test-7
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
150 pulling from ../test-7
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
151 searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
152 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
153 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
154 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
155 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
156 (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
157 $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
158 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
159 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
160 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
161 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
162 4 files, 9 changesets, 7 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
163 $ cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
164 $ cd test-1
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
165 $ hg pull -e "python ../dummyssh" -r 4 ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
166 pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
167 searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
168 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
169 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
170 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
171 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
172 (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
173 $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
174 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
175 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
176 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
177 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
178 1 files, 3 changesets, 2 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
179 $ hg pull -e "python ../dummyssh" ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
180 pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
181 searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
182 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
183 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
184 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
185 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
186 (run 'hg update' to get a working copy)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
187 $ cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
188 $ cd test-2
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
189 $ hg pull -e "python ../dummyssh" -r 5 ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
190 pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
191 searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
192 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
193 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
194 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
195 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
196 (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
197 $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
198 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
199 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
200 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
201 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
202 1 files, 5 changesets, 3 total revisions
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
203 $ hg pull -e "python ../dummyssh" ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
204 pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
205 searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
206 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
207 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
208 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
209 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
210 (run 'hg update' to get a working copy)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
211 $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
212 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
213 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
214 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
215 checking files
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
216 4 files, 9 changesets, 7 total revisions