annotate tests/test-ssh-clone-r.t @ 48976:877d7e1a4223 stable

amend: fix amend with copies in extras If copy information is stored only in the commit extras and not in filelogs, then they get lost on amend if the file wasn't also modified in the working copy. That's because we create `filectx` object from the old commit in those cases, and the `.copysource()` of such objects read only from the filelog. This patch fixes it by always creating a new `memfilectx` in these cases, passing the calculated copy information to it. Differential Revision: https://phab.mercurial-scm.org/D12387
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 18 Mar 2022 21:15:54 -0700
parents 04688c51f81f
children 2f2682f40ea0
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
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)
39480
89630d0b3e23 phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents: 36217
diff changeset
12 new changesets bfaf4b5cbf01:916f1afdef90 (9 drafts)
14117
07708f4171f1 tests: create a bundle to bootstrap tests using a remote repository
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 13742
diff changeset
13 (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
14 $ hg up tip
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
15 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
16 $ cd ..
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
17
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
18 clone remote via stream
3449
c8686e3f0291 Testing the new changegroupsubset remote function in the ssh
Eric Hopper <hopper@omnifarious.org>
parents:
diff changeset
19
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
20 $ for i in 0 1 2 3 4 5 6 7 8; do
47919
a28a7dcb9158 tests: setup dummyssh as the default ssh
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39489
diff changeset
21 > hg clone --stream -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
22 > if cd test-"$i"; then
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
23 > hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
24 > cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
25 > fi
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
26 > done
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
27 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
28 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
29 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
30 added 1 changesets with 1 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
31 new changesets bfaf4b5cbf01
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
32 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
33 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
34 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
35 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
36 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
37 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
38 checked 1 changesets with 1 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
39 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
40 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
41 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
42 added 2 changesets with 2 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
43 new changesets bfaf4b5cbf01:21f32785131f
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
44 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
45 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
46 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
47 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
48 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
49 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
50 checked 2 changesets with 2 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
51 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
52 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
53 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
54 added 3 changesets with 3 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
55 new changesets bfaf4b5cbf01:4ce51a113780
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
56 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
57 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
58 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
59 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
60 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
61 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
62 checked 3 changesets with 3 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
63 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
64 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
65 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
66 added 4 changesets with 4 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
67 new changesets bfaf4b5cbf01:93ee6ab32777
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
68 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
69 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
70 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
71 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
72 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
73 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
74 checked 4 changesets with 4 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
75 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
76 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
77 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
78 added 2 changesets with 2 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
79 new changesets bfaf4b5cbf01:c70afb1ee985
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
80 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
81 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
82 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
83 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
84 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
85 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
86 checked 2 changesets with 2 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
87 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
88 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
89 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
90 added 3 changesets with 3 changes to 1 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
91 new changesets bfaf4b5cbf01:f03ae5a9b979
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
92 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
93 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
94 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
95 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
96 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
97 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
98 checked 3 changesets with 3 changes to 1 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
99 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
100 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
101 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
102 added 4 changesets with 5 changes to 2 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
103 new changesets bfaf4b5cbf01:095cb14b1b4d
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
104 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
105 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
106 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
107 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
108 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
109 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
110 checked 4 changesets with 5 changes to 2 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
111 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
112 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
113 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
114 added 5 changesets with 6 changes to 3 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
115 new changesets bfaf4b5cbf01:faa2e4234c7a
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
116 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
117 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
118 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
119 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
120 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
121 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
122 checked 5 changesets with 6 changes to 3 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
123 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
124 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
125 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
126 added 5 changesets with 5 changes to 2 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
127 new changesets bfaf4b5cbf01:916f1afdef90
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
128 updating to branch default
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
129 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
130 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
131 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
132 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
133 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
134 checked 5 changesets with 5 changes to 2 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
135 $ cd test-8
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
136 $ hg pull ../test-7
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
137 pulling from ../test-7
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
138 searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
139 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
140 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
141 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
142 added 4 changesets with 2 changes to 3 files (+1 heads)
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
143 new changesets c70afb1ee985:faa2e4234c7a
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
144 (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
145 $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
146 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
147 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
148 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
149 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
150 checked 9 changesets with 7 changes to 4 files
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
151 $ cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
152 $ cd test-1
47919
a28a7dcb9158 tests: setup dummyssh as the default ssh
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39489
diff changeset
153 $ hg pull -r 4 ssh://user@dummy/remote
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
154 pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
155 searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
156 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
157 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
158 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
159 added 1 changesets with 0 changes to 0 files (+1 heads)
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
160 new changesets c70afb1ee985
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
161 (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
162 $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
163 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
164 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
165 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
166 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
167 checked 3 changesets with 2 changes to 1 files
47919
a28a7dcb9158 tests: setup dummyssh as the default ssh
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39489
diff changeset
168 $ hg pull ssh://user@dummy/remote
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
169 pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
170 searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
171 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
172 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
173 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
174 added 6 changesets with 5 changes to 4 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
175 new changesets 4ce51a113780:916f1afdef90
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
176 (run 'hg update' to get a working copy)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
177 $ cd ..
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
178 $ cd test-2
47919
a28a7dcb9158 tests: setup dummyssh as the default ssh
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39489
diff changeset
179 $ hg pull -r 5 ssh://user@dummy/remote
12490
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
13742
7abab875e647 discovery: avoid discovery when local graph is a subset of remote
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 12847
diff changeset
185 added 2 changesets with 0 changes to 0 files (+1 heads)
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
186 new changesets c70afb1ee985:f03ae5a9b979
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
187 (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
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
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
193 checked 5 changesets with 3 changes to 1 files
47919
a28a7dcb9158 tests: setup dummyssh as the default ssh
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39489
diff changeset
194 $ hg pull ssh://user@dummy/remote
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
195 pulling from ssh://user@dummy/remote
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
196 searching for changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
197 adding changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
198 adding manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
199 adding file changes
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
200 added 4 changesets with 4 changes to 4 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 34393
diff changeset
201 new changesets 93ee6ab32777:916f1afdef90
12490
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
202 (run 'hg update' to get a working copy)
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
203 $ hg verify
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
204 checking changesets
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
205 checking manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
206 crosschecking files in changesets and manifests
8ae02203065e tests: unify test-ssh-clone-r
Matt Mackall <mpm@selenic.com>
parents: 4299
diff changeset
207 checking files
39489
f1186c292d03 verify: make output less confusing (issue5924)
Meirambek Omyrzak <meirambek77@gmail.com>
parents: 39480
diff changeset
208 checked 9 changesets with 7 changes to 4 files
16913
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16541
diff changeset
209
f2719b387380 tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents: 16541
diff changeset
210 $ cd ..