Show More
@@ -1,568 +1,569 | |||||
1 | #require sqlite |
|
1 | #require sqlite | |
2 |
|
2 | |||
3 | Tests for wire protocol version 2 exchange. |
|
3 | Tests for wire protocol version 2 exchange. | |
4 | Tests in this file should be folded into existing tests once protocol |
|
4 | Tests in this file should be folded into existing tests once protocol | |
5 | v2 has enough features that it can be enabled via #testcase in existing |
|
5 | v2 has enough features that it can be enabled via #testcase in existing | |
6 | tests. |
|
6 | tests. | |
7 |
|
7 | |||
8 | $ . $TESTDIR/wireprotohelpers.sh |
|
8 | $ . $TESTDIR/wireprotohelpers.sh | |
9 | $ enablehttpv2client |
|
9 | $ enablehttpv2client | |
10 | $ cat >> $HGRCPATH << EOF |
|
10 | $ cat >> $HGRCPATH << EOF | |
11 | > [extensions] |
|
11 | > [extensions] | |
12 | > sqlitestore = |
|
12 | > sqlitestore = | |
13 | > pullext = $TESTDIR/pullext.py |
|
13 | > pullext = $TESTDIR/pullext.py | |
14 | > [storage] |
|
14 | > [storage] | |
15 | > new-repo-backend=sqlite |
|
15 | > new-repo-backend=sqlite | |
16 | > EOF |
|
16 | > EOF | |
17 |
|
17 | |||
18 | Configure a server |
|
18 | Configure a server | |
19 |
|
19 | |||
20 | $ hg init server-basic |
|
20 | $ hg init server-basic | |
21 | $ enablehttpv2 server-basic |
|
21 | $ enablehttpv2 server-basic | |
22 | $ cd server-basic |
|
22 | $ cd server-basic | |
23 | $ mkdir dir0 dir1 |
|
23 | $ mkdir dir0 dir1 | |
24 | $ echo a0 > a |
|
24 | $ echo a0 > a | |
25 | $ echo b0 > b |
|
25 | $ echo b0 > b | |
26 | $ hg -q commit -A -m 'commit 0' |
|
26 | $ hg -q commit -A -m 'commit 0' | |
27 | $ echo c0 > dir0/c |
|
27 | $ echo c0 > dir0/c | |
28 | $ echo d0 > dir0/d |
|
28 | $ echo d0 > dir0/d | |
29 | $ hg -q commit -A -m 'commit 1' |
|
29 | $ hg -q commit -A -m 'commit 1' | |
30 | $ echo e0 > dir1/e |
|
30 | $ echo e0 > dir1/e | |
31 | $ echo f0 > dir1/f |
|
31 | $ echo f0 > dir1/f | |
32 | $ hg -q commit -A -m 'commit 2' |
|
32 | $ hg -q commit -A -m 'commit 2' | |
33 | $ echo c1 > dir0/c |
|
33 | $ echo c1 > dir0/c | |
34 | $ echo e1 > dir1/e |
|
34 | $ echo e1 > dir1/e | |
35 | $ hg commit -m 'commit 3' |
|
35 | $ hg commit -m 'commit 3' | |
36 | $ echo c2 > dir0/c |
|
36 | $ echo c2 > dir0/c | |
37 | $ echo e2 > dir1/e |
|
37 | $ echo e2 > dir1/e | |
38 | $ echo f1 > dir1/f |
|
38 | $ echo f1 > dir1/f | |
39 | $ hg commit -m 'commit 4' |
|
39 | $ hg commit -m 'commit 4' | |
40 | $ echo a1 > a |
|
40 | $ echo a1 > a | |
41 | $ echo b1 > b |
|
41 | $ echo b1 > b | |
42 | $ hg commit -m 'commit 5' |
|
42 | $ hg commit -m 'commit 5' | |
43 |
|
43 | |||
44 | $ hg log -G -T '{node} {desc}' |
|
44 | $ hg log -G -T '{node} {desc}' | |
45 | @ 93a8bd067ed2840d9aa810ad598168383a3a2c3a commit 5 |
|
45 | @ 93a8bd067ed2840d9aa810ad598168383a3a2c3a commit 5 | |
46 | | |
|
46 | | | |
47 | o dc666cf9ecf3d94e6b830f30e5f1272e2a9164d9 commit 4 |
|
47 | o dc666cf9ecf3d94e6b830f30e5f1272e2a9164d9 commit 4 | |
48 | | |
|
48 | | | |
49 | o 97765fc3cd624fd1fa0176932c21ffd16adf432e commit 3 |
|
49 | o 97765fc3cd624fd1fa0176932c21ffd16adf432e commit 3 | |
50 | | |
|
50 | | | |
51 | o 47fe012ab237a8c7fc0c78f9f26d5866eef3f825 commit 2 |
|
51 | o 47fe012ab237a8c7fc0c78f9f26d5866eef3f825 commit 2 | |
52 | | |
|
52 | | | |
53 | o b709380892b193c1091d3a817f706052e346821b commit 1 |
|
53 | o b709380892b193c1091d3a817f706052e346821b commit 1 | |
54 | | |
|
54 | | | |
55 | o 3390ef850073fbc2f0dfff2244342c8e9229013a commit 0 |
|
55 | o 3390ef850073fbc2f0dfff2244342c8e9229013a commit 0 | |
56 |
|
56 | |||
57 | $ hg serve -p $HGPORT -d --pid-file hg.pid -E error.log |
|
57 | $ hg serve -p $HGPORT -d --pid-file hg.pid -E error.log | |
58 | $ cat hg.pid > $DAEMON_PIDS |
|
58 | $ cat hg.pid > $DAEMON_PIDS | |
59 |
|
59 | |||
60 | $ cd .. |
|
60 | $ cd .. | |
61 |
|
61 | |||
62 | Shallow clone pulls down latest revision of every file |
|
62 | Shallow clone pulls down latest revision of every file | |
63 |
|
63 | |||
64 | $ hg --debug clone --depth 1 http://localhost:$HGPORT client-shallow-1 |
|
64 | $ hg --debug clone --depth 1 http://localhost:$HGPORT client-shallow-1 | |
65 | using http://localhost:$HGPORT/ |
|
65 | using http://localhost:$HGPORT/ | |
66 | sending capabilities command |
|
66 | sending capabilities command | |
67 | query 1; heads |
|
67 | query 1; heads | |
68 | sending 2 commands |
|
68 | sending 2 commands | |
69 | sending command heads: {} |
|
69 | sending command heads: {} | |
70 | sending command known: { |
|
70 | sending command known: { | |
71 | 'nodes': [] |
|
71 | 'nodes': [] | |
72 | } |
|
72 | } | |
73 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
73 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
74 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
74 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
75 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
75 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
76 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
76 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
77 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
77 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
78 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
78 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
79 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) |
|
79 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
80 | sending 1 commands |
|
80 | sending 1 commands | |
81 | sending command changesetdata: { |
|
81 | sending command changesetdata: { | |
82 | 'fields': set([ |
|
82 | 'fields': set([ | |
83 | 'bookmarks', |
|
83 | 'bookmarks', | |
84 | 'parents', |
|
84 | 'parents', | |
85 | 'phase', |
|
85 | 'phase', | |
86 | 'revision' |
|
86 | 'revision' | |
87 | ]), |
|
87 | ]), | |
88 | 'revisions': [ |
|
88 | 'revisions': [ | |
89 | { |
|
89 | { | |
90 | 'heads': [ |
|
90 | 'heads': [ | |
91 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' |
|
91 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' | |
92 | ], |
|
92 | ], | |
93 | 'roots': [], |
|
93 | 'roots': [], | |
94 | 'type': 'changesetdagrange' |
|
94 | 'type': 'changesetdagrange' | |
95 | } |
|
95 | } | |
96 | ] |
|
96 | ] | |
97 | } |
|
97 | } | |
98 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
98 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
99 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
99 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
100 | received frame(size=1170; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
100 | received frame(size=1170; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
101 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
101 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
102 | add changeset 3390ef850073 |
|
102 | add changeset 3390ef850073 | |
103 | add changeset b709380892b1 |
|
103 | add changeset b709380892b1 | |
104 | add changeset 47fe012ab237 |
|
104 | add changeset 47fe012ab237 | |
105 | add changeset 97765fc3cd62 |
|
105 | add changeset 97765fc3cd62 | |
106 | add changeset dc666cf9ecf3 |
|
106 | add changeset dc666cf9ecf3 | |
107 | add changeset 93a8bd067ed2 |
|
107 | add changeset 93a8bd067ed2 | |
108 | checking for updated bookmarks |
|
108 | checking for updated bookmarks | |
109 | sending 1 commands |
|
109 | sending 1 commands | |
110 | sending command manifestdata: { |
|
110 | sending command manifestdata: { | |
111 | 'fields': set([ |
|
111 | 'fields': set([ | |
112 | 'parents', |
|
112 | 'parents', | |
113 | 'revision' |
|
113 | 'revision' | |
114 | ]), |
|
114 | ]), | |
115 | 'haveparents': True, |
|
115 | 'haveparents': True, | |
116 | 'nodes': [ |
|
116 | 'nodes': [ | |
117 | '\x99/Gy\x02\x9a=\xf8\xd0fm\x00\xbb\x92OicN&A', |
|
117 | '\x99/Gy\x02\x9a=\xf8\xd0fm\x00\xbb\x92OicN&A', | |
118 | '|2 \x1a\xa3\xa1R\xa9\xe6\xa9"+?\xa8\xd0\xe3\x0f\xc2V\xe8', |
|
118 | '|2 \x1a\xa3\xa1R\xa9\xe6\xa9"+?\xa8\xd0\xe3\x0f\xc2V\xe8', | |
119 | '\x8d\xd0W<\x7f\xaf\xe2\x04F\xcc\xea\xac\x05N\xea\xa4x\x91M\xdb', |
|
119 | '\x8d\xd0W<\x7f\xaf\xe2\x04F\xcc\xea\xac\x05N\xea\xa4x\x91M\xdb', | |
120 | '113\x85\xf2!\x8b\x08^\xb2Z\x821\x1e*\xdd\x0e\xeb\x8c3', |
|
120 | '113\x85\xf2!\x8b\x08^\xb2Z\x821\x1e*\xdd\x0e\xeb\x8c3', | |
121 | 'H]O\xc2`\xef\\\xb9\xc0p6\x88K\x00k\x11\x0ej\xdby', |
|
121 | 'H]O\xc2`\xef\\\xb9\xc0p6\x88K\x00k\x11\x0ej\xdby', | |
122 | '\xd9;\xc4\x0b\x0e*GMp\xee\xf7}^\x91/f\x7fSd\x83' |
|
122 | '\xd9;\xc4\x0b\x0e*GMp\xee\xf7}^\x91/f\x7fSd\x83' | |
123 | ], |
|
123 | ], | |
124 | 'tree': '' |
|
124 | 'tree': '' | |
125 | } |
|
125 | } | |
126 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
126 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
127 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
127 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
128 | received frame(size=1515; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
128 | received frame(size=1515; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
129 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
129 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
130 | sending 1 commands |
|
130 | sending 1 commands | |
131 | sending command filesdata: { |
|
131 | sending command filesdata: { | |
132 | 'fields': set([ |
|
132 | 'fields': set([ | |
133 | 'linknode', |
|
133 | 'linknode', | |
134 | 'parents', |
|
134 | 'parents', | |
135 | 'revision' |
|
135 | 'revision' | |
136 | ]), |
|
136 | ]), | |
137 | 'haveparents': False, |
|
137 | 'haveparents': False, | |
138 | 'revisions': [ |
|
138 | 'revisions': [ | |
139 | { |
|
139 | { | |
140 | 'nodes': [ |
|
140 | 'nodes': [ | |
141 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' |
|
141 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' | |
142 | ], |
|
142 | ], | |
143 | 'type': 'changesetexplicit' |
|
143 | 'type': 'changesetexplicit' | |
144 | } |
|
144 | } | |
145 | ] |
|
145 | ] | |
146 | } |
|
146 | } | |
147 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
147 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
148 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
148 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
149 | received frame(size=1005; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
149 | received frame(size=1005; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
150 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
150 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
151 | updating the branch cache |
|
151 | updating the branch cache | |
152 | new changesets 3390ef850073:93a8bd067ed2 |
|
152 | new changesets 3390ef850073:93a8bd067ed2 | |
153 | updating to branch default |
|
153 | updating to branch default | |
154 | resolving manifests |
|
154 | resolving manifests | |
155 | branchmerge: False, force: False, partial: False |
|
155 | branchmerge: False, force: False, partial: False | |
156 | ancestor: 000000000000, local: 000000000000+, remote: 93a8bd067ed2 |
|
156 | ancestor: 000000000000, local: 000000000000+, remote: 93a8bd067ed2 | |
157 | a: remote created -> g |
|
157 | a: remote created -> g | |
158 | getting a |
|
158 | getting a | |
159 | b: remote created -> g |
|
159 | b: remote created -> g | |
160 | getting b |
|
160 | getting b | |
161 | dir0/c: remote created -> g |
|
161 | dir0/c: remote created -> g | |
162 | getting dir0/c |
|
162 | getting dir0/c | |
163 | dir0/d: remote created -> g |
|
163 | dir0/d: remote created -> g | |
164 | getting dir0/d |
|
164 | getting dir0/d | |
165 | dir1/e: remote created -> g |
|
165 | dir1/e: remote created -> g | |
166 | getting dir1/e |
|
166 | getting dir1/e | |
167 | dir1/f: remote created -> g |
|
167 | dir1/f: remote created -> g | |
168 | getting dir1/f |
|
168 | getting dir1/f | |
169 | 6 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
169 | 6 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
170 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) |
|
170 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
171 |
|
171 | |||
172 | $ sqlite3 -line client-shallow-1/.hg/store/db.sqlite << EOF |
|
172 | $ sqlite3 -line client-shallow-1/.hg/store/db.sqlite << EOF | |
173 | > SELECT id, path, revnum, node, p1rev, p2rev, linkrev, flags FROM filedata ORDER BY id ASC; |
|
173 | > SELECT id, path, revnum, node, p1rev, p2rev, linkrev, flags FROM filedata ORDER BY id ASC; | |
174 | > EOF |
|
174 | > EOF | |
175 | id = 1 |
|
175 | id = 1 | |
176 | path = a |
|
176 | path = a | |
177 | revnum = 0 |
|
177 | revnum = 0 | |
178 | node = \x9a8\x12)\x97\xb3\xac\x97\xbe*\x9a\xa2\xe5V\x83\x83A\xfd\xf2\xcc (esc) |
|
178 | node = \x9a8\x12)\x97\xb3\xac\x97\xbe*\x9a\xa2\xe5V\x83\x83A\xfd\xf2\xcc (esc) | |
179 | p1rev = -1 |
|
179 | p1rev = -1 | |
180 | p2rev = -1 |
|
180 | p2rev = -1 | |
181 | linkrev = 5 |
|
181 | linkrev = 5 | |
182 | flags = 2 |
|
182 | flags = 2 | |
183 |
|
183 | |||
184 | id = 2 |
|
184 | id = 2 | |
185 | path = b |
|
185 | path = b | |
186 | revnum = 0 |
|
186 | revnum = 0 | |
187 | node = \xb1zk\xd3g=\x9a\xb8\xce\xd5\x81\xa2 \xf6/=\xa5\xccEx (esc) |
|
187 | node = \xb1zk\xd3g=\x9a\xb8\xce\xd5\x81\xa2 \xf6/=\xa5\xccEx (esc) | |
188 | p1rev = -1 |
|
188 | p1rev = -1 | |
189 | p2rev = -1 |
|
189 | p2rev = -1 | |
190 | linkrev = 5 |
|
190 | linkrev = 5 | |
191 | flags = 2 |
|
191 | flags = 2 | |
192 |
|
192 | |||
193 | id = 3 |
|
193 | id = 3 | |
194 | path = dir0/c |
|
194 | path = dir0/c | |
195 | revnum = 0 |
|
195 | revnum = 0 | |
196 | node = I\x1d\xa1\xbb\x89\xeax\xc0\xc0\xa2s[\x16\xce}\x93\x1d\xc8\xe2\r (esc) |
|
196 | node = I\x1d\xa1\xbb\x89\xeax\xc0\xc0\xa2s[\x16\xce}\x93\x1d\xc8\xe2\r (esc) | |
197 | p1rev = -1 |
|
197 | p1rev = -1 | |
198 | p2rev = -1 |
|
198 | p2rev = -1 | |
199 | linkrev = 5 |
|
199 | linkrev = 5 | |
200 | flags = 2 |
|
200 | flags = 2 | |
201 |
|
201 | |||
202 | id = 4 |
|
202 | id = 4 | |
203 | path = dir0/d |
|
203 | path = dir0/d | |
204 | revnum = 0 |
|
204 | revnum = 0 | |
205 | node = S\x82\x06\xdc\x97\x1eR\x15@\xd6\x84:\xbf\xe6\xd1`2\xf6\xd4& (esc) |
|
205 | node = S\x82\x06\xdc\x97\x1eR\x15@\xd6\x84:\xbf\xe6\xd1`2\xf6\xd4& (esc) | |
206 | p1rev = -1 |
|
206 | p1rev = -1 | |
207 | p2rev = -1 |
|
207 | p2rev = -1 | |
208 | linkrev = 5 |
|
208 | linkrev = 5 | |
209 | flags = 0 |
|
209 | flags = 0 | |
210 |
|
210 | |||
211 | id = 5 |
|
211 | id = 5 | |
212 | path = dir1/e |
|
212 | path = dir1/e | |
213 | revnum = 0 |
|
213 | revnum = 0 | |
214 | node = ]\xf3\xac\xd8\xd0\xc7\xfaP\x98\xd0'\x9a\x044\xc3\x02\x9e+x\xe1 (esc) |
|
214 | node = ]\xf3\xac\xd8\xd0\xc7\xfaP\x98\xd0'\x9a\x044\xc3\x02\x9e+x\xe1 (esc) | |
215 | p1rev = -1 |
|
215 | p1rev = -1 | |
216 | p2rev = -1 |
|
216 | p2rev = -1 | |
217 | linkrev = 5 |
|
217 | linkrev = 5 | |
218 | flags = 2 |
|
218 | flags = 2 | |
219 |
|
219 | |||
220 | id = 6 |
|
220 | id = 6 | |
221 | path = dir1/f |
|
221 | path = dir1/f | |
222 | revnum = 0 |
|
222 | revnum = 0 | |
223 | node = (\xc7v\xae\x08\xd0\xd5^\xb4\x06H\xb4\x01\xb9\x0f\xf5DH4\x8e (esc) |
|
223 | node = (\xc7v\xae\x08\xd0\xd5^\xb4\x06H\xb4\x01\xb9\x0f\xf5DH4\x8e (esc) | |
224 | p1rev = -1 |
|
224 | p1rev = -1 | |
225 | p2rev = -1 |
|
225 | p2rev = -1 | |
226 | linkrev = 5 |
|
226 | linkrev = 5 | |
227 | flags = 2 |
|
227 | flags = 2 | |
228 |
|
228 | |||
229 | Test a shallow clone with only some files |
|
229 | Test a shallow clone with only some files | |
230 |
|
230 | |||
231 | $ hg --debug clone --depth 1 --include dir0/ http://localhost:$HGPORT client-shallow-narrow-1 |
|
231 | $ hg --debug clone --depth 1 --include dir0/ http://localhost:$HGPORT client-shallow-narrow-1 | |
232 | using http://localhost:$HGPORT/ |
|
232 | using http://localhost:$HGPORT/ | |
233 | sending capabilities command |
|
233 | sending capabilities command | |
234 | query 1; heads |
|
234 | query 1; heads | |
235 | sending 2 commands |
|
235 | sending 2 commands | |
236 | sending command heads: {} |
|
236 | sending command heads: {} | |
237 | sending command known: { |
|
237 | sending command known: { | |
238 | 'nodes': [] |
|
238 | 'nodes': [] | |
239 | } |
|
239 | } | |
240 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
240 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
241 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
241 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
242 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
242 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
243 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
243 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
244 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
244 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
245 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
245 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
246 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) |
|
246 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
247 | sending 1 commands |
|
247 | sending 1 commands | |
248 | sending command changesetdata: { |
|
248 | sending command changesetdata: { | |
249 | 'fields': set([ |
|
249 | 'fields': set([ | |
250 | 'bookmarks', |
|
250 | 'bookmarks', | |
251 | 'parents', |
|
251 | 'parents', | |
252 | 'phase', |
|
252 | 'phase', | |
253 | 'revision' |
|
253 | 'revision' | |
254 | ]), |
|
254 | ]), | |
255 | 'revisions': [ |
|
255 | 'revisions': [ | |
256 | { |
|
256 | { | |
257 | 'heads': [ |
|
257 | 'heads': [ | |
258 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' |
|
258 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' | |
259 | ], |
|
259 | ], | |
260 | 'roots': [], |
|
260 | 'roots': [], | |
261 | 'type': 'changesetdagrange' |
|
261 | 'type': 'changesetdagrange' | |
262 | } |
|
262 | } | |
263 | ] |
|
263 | ] | |
264 | } |
|
264 | } | |
265 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
265 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
266 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
266 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
267 | received frame(size=1170; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
267 | received frame(size=1170; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
268 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
268 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) (?) | |
269 | add changeset 3390ef850073 |
|
269 | add changeset 3390ef850073 | |
270 | add changeset b709380892b1 |
|
270 | add changeset b709380892b1 | |
271 | add changeset 47fe012ab237 |
|
271 | add changeset 47fe012ab237 | |
272 | add changeset 97765fc3cd62 |
|
272 | add changeset 97765fc3cd62 | |
273 | add changeset dc666cf9ecf3 |
|
273 | add changeset dc666cf9ecf3 | |
274 | add changeset 93a8bd067ed2 |
|
274 | add changeset 93a8bd067ed2 | |
|
275 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) (?) | |||
275 | checking for updated bookmarks |
|
276 | checking for updated bookmarks | |
276 | sending 1 commands |
|
277 | sending 1 commands | |
277 | sending command manifestdata: { |
|
278 | sending command manifestdata: { | |
278 | 'fields': set([ |
|
279 | 'fields': set([ | |
279 | 'parents', |
|
280 | 'parents', | |
280 | 'revision' |
|
281 | 'revision' | |
281 | ]), |
|
282 | ]), | |
282 | 'haveparents': True, |
|
283 | 'haveparents': True, | |
283 | 'nodes': [ |
|
284 | 'nodes': [ | |
284 | '\x99/Gy\x02\x9a=\xf8\xd0fm\x00\xbb\x92OicN&A', |
|
285 | '\x99/Gy\x02\x9a=\xf8\xd0fm\x00\xbb\x92OicN&A', | |
285 | '|2 \x1a\xa3\xa1R\xa9\xe6\xa9"+?\xa8\xd0\xe3\x0f\xc2V\xe8', |
|
286 | '|2 \x1a\xa3\xa1R\xa9\xe6\xa9"+?\xa8\xd0\xe3\x0f\xc2V\xe8', | |
286 | '\x8d\xd0W<\x7f\xaf\xe2\x04F\xcc\xea\xac\x05N\xea\xa4x\x91M\xdb', |
|
287 | '\x8d\xd0W<\x7f\xaf\xe2\x04F\xcc\xea\xac\x05N\xea\xa4x\x91M\xdb', | |
287 | '113\x85\xf2!\x8b\x08^\xb2Z\x821\x1e*\xdd\x0e\xeb\x8c3', |
|
288 | '113\x85\xf2!\x8b\x08^\xb2Z\x821\x1e*\xdd\x0e\xeb\x8c3', | |
288 | 'H]O\xc2`\xef\\\xb9\xc0p6\x88K\x00k\x11\x0ej\xdby', |
|
289 | 'H]O\xc2`\xef\\\xb9\xc0p6\x88K\x00k\x11\x0ej\xdby', | |
289 | '\xd9;\xc4\x0b\x0e*GMp\xee\xf7}^\x91/f\x7fSd\x83' |
|
290 | '\xd9;\xc4\x0b\x0e*GMp\xee\xf7}^\x91/f\x7fSd\x83' | |
290 | ], |
|
291 | ], | |
291 | 'tree': '' |
|
292 | 'tree': '' | |
292 | } |
|
293 | } | |
293 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
294 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
294 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
295 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
295 | received frame(size=1515; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
296 | received frame(size=1515; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
296 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
297 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
297 | sending 1 commands |
|
298 | sending 1 commands | |
298 | sending command filesdata: { |
|
299 | sending command filesdata: { | |
299 | 'fields': set([ |
|
300 | 'fields': set([ | |
300 | 'linknode', |
|
301 | 'linknode', | |
301 | 'parents', |
|
302 | 'parents', | |
302 | 'revision' |
|
303 | 'revision' | |
303 | ]), |
|
304 | ]), | |
304 | 'haveparents': False, |
|
305 | 'haveparents': False, | |
305 | 'pathfilter': { |
|
306 | 'pathfilter': { | |
306 | 'include': [ |
|
307 | 'include': [ | |
307 | 'path:dir0' |
|
308 | 'path:dir0' | |
308 | ] |
|
309 | ] | |
309 | }, |
|
310 | }, | |
310 | 'revisions': [ |
|
311 | 'revisions': [ | |
311 | { |
|
312 | { | |
312 | 'nodes': [ |
|
313 | 'nodes': [ | |
313 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' |
|
314 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' | |
314 | ], |
|
315 | ], | |
315 | 'type': 'changesetexplicit' |
|
316 | 'type': 'changesetexplicit' | |
316 | } |
|
317 | } | |
317 | ] |
|
318 | ] | |
318 | } |
|
319 | } | |
319 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
320 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
320 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
321 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
321 | received frame(size=355; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
322 | received frame(size=355; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
322 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
323 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
323 | updating the branch cache |
|
324 | updating the branch cache | |
324 | new changesets 3390ef850073:93a8bd067ed2 |
|
325 | new changesets 3390ef850073:93a8bd067ed2 | |
325 | updating to branch default |
|
326 | updating to branch default | |
326 | resolving manifests |
|
327 | resolving manifests | |
327 | branchmerge: False, force: False, partial: False |
|
328 | branchmerge: False, force: False, partial: False | |
328 | ancestor: 000000000000, local: 000000000000+, remote: 93a8bd067ed2 |
|
329 | ancestor: 000000000000, local: 000000000000+, remote: 93a8bd067ed2 | |
329 | dir0/c: remote created -> g |
|
330 | dir0/c: remote created -> g | |
330 | getting dir0/c |
|
331 | getting dir0/c | |
331 | dir0/d: remote created -> g |
|
332 | dir0/d: remote created -> g | |
332 | getting dir0/d |
|
333 | getting dir0/d | |
333 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
334 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
334 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) |
|
335 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
335 |
|
336 | |||
336 | $ sqlite3 -line client-shallow-narrow-1/.hg/store/db.sqlite << EOF |
|
337 | $ sqlite3 -line client-shallow-narrow-1/.hg/store/db.sqlite << EOF | |
337 | > SELECT id, path, revnum, node, p1rev, p2rev, linkrev, flags FROM filedata ORDER BY id ASC; |
|
338 | > SELECT id, path, revnum, node, p1rev, p2rev, linkrev, flags FROM filedata ORDER BY id ASC; | |
338 | > EOF |
|
339 | > EOF | |
339 | id = 1 |
|
340 | id = 1 | |
340 | path = dir0/c |
|
341 | path = dir0/c | |
341 | revnum = 0 |
|
342 | revnum = 0 | |
342 | node = I\x1d\xa1\xbb\x89\xeax\xc0\xc0\xa2s[\x16\xce}\x93\x1d\xc8\xe2\r (esc) |
|
343 | node = I\x1d\xa1\xbb\x89\xeax\xc0\xc0\xa2s[\x16\xce}\x93\x1d\xc8\xe2\r (esc) | |
343 | p1rev = -1 |
|
344 | p1rev = -1 | |
344 | p2rev = -1 |
|
345 | p2rev = -1 | |
345 | linkrev = 5 |
|
346 | linkrev = 5 | |
346 | flags = 2 |
|
347 | flags = 2 | |
347 |
|
348 | |||
348 | id = 2 |
|
349 | id = 2 | |
349 | path = dir0/d |
|
350 | path = dir0/d | |
350 | revnum = 0 |
|
351 | revnum = 0 | |
351 | node = S\x82\x06\xdc\x97\x1eR\x15@\xd6\x84:\xbf\xe6\xd1`2\xf6\xd4& (esc) |
|
352 | node = S\x82\x06\xdc\x97\x1eR\x15@\xd6\x84:\xbf\xe6\xd1`2\xf6\xd4& (esc) | |
352 | p1rev = -1 |
|
353 | p1rev = -1 | |
353 | p2rev = -1 |
|
354 | p2rev = -1 | |
354 | linkrev = 5 |
|
355 | linkrev = 5 | |
355 | flags = 0 |
|
356 | flags = 0 | |
356 |
|
357 | |||
357 | Cloning an old revision with depth=1 works |
|
358 | Cloning an old revision with depth=1 works | |
358 |
|
359 | |||
359 | $ hg --debug clone --depth 1 -r 97765fc3cd624fd1fa0176932c21ffd16adf432e http://localhost:$HGPORT client-shallow-2 |
|
360 | $ hg --debug clone --depth 1 -r 97765fc3cd624fd1fa0176932c21ffd16adf432e http://localhost:$HGPORT client-shallow-2 | |
360 | using http://localhost:$HGPORT/ |
|
361 | using http://localhost:$HGPORT/ | |
361 | sending capabilities command |
|
362 | sending capabilities command | |
362 | sending 1 commands |
|
363 | sending 1 commands | |
363 | sending command lookup: { |
|
364 | sending command lookup: { | |
364 | 'key': '97765fc3cd624fd1fa0176932c21ffd16adf432e' |
|
365 | 'key': '97765fc3cd624fd1fa0176932c21ffd16adf432e' | |
365 | } |
|
366 | } | |
366 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
367 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
367 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
368 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
368 | received frame(size=21; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
369 | received frame(size=21; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
369 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
370 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
370 | query 1; heads |
|
371 | query 1; heads | |
371 | sending 2 commands |
|
372 | sending 2 commands | |
372 | sending command heads: {} |
|
373 | sending command heads: {} | |
373 | sending command known: { |
|
374 | sending command known: { | |
374 | 'nodes': [] |
|
375 | 'nodes': [] | |
375 | } |
|
376 | } | |
376 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
377 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
377 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
378 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
378 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
379 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
379 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
380 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
380 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
381 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
381 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
382 | received frame(size=1; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
382 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) |
|
383 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
383 | sending 1 commands |
|
384 | sending 1 commands | |
384 | sending command changesetdata: { |
|
385 | sending command changesetdata: { | |
385 | 'fields': set([ |
|
386 | 'fields': set([ | |
386 | 'bookmarks', |
|
387 | 'bookmarks', | |
387 | 'parents', |
|
388 | 'parents', | |
388 | 'phase', |
|
389 | 'phase', | |
389 | 'revision' |
|
390 | 'revision' | |
390 | ]), |
|
391 | ]), | |
391 | 'revisions': [ |
|
392 | 'revisions': [ | |
392 | { |
|
393 | { | |
393 | 'heads': [ |
|
394 | 'heads': [ | |
394 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' |
|
395 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' | |
395 | ], |
|
396 | ], | |
396 | 'roots': [], |
|
397 | 'roots': [], | |
397 | 'type': 'changesetdagrange' |
|
398 | 'type': 'changesetdagrange' | |
398 | } |
|
399 | } | |
399 | ] |
|
400 | ] | |
400 | } |
|
401 | } | |
401 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
402 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
402 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
403 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
403 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
404 | received frame(size=783; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
404 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
405 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
405 | add changeset 3390ef850073 |
|
406 | add changeset 3390ef850073 | |
406 | add changeset b709380892b1 |
|
407 | add changeset b709380892b1 | |
407 | add changeset 47fe012ab237 |
|
408 | add changeset 47fe012ab237 | |
408 | add changeset 97765fc3cd62 |
|
409 | add changeset 97765fc3cd62 | |
409 | checking for updated bookmarks |
|
410 | checking for updated bookmarks | |
410 | sending 1 commands |
|
411 | sending 1 commands | |
411 | sending command manifestdata: { |
|
412 | sending command manifestdata: { | |
412 | 'fields': set([ |
|
413 | 'fields': set([ | |
413 | 'parents', |
|
414 | 'parents', | |
414 | 'revision' |
|
415 | 'revision' | |
415 | ]), |
|
416 | ]), | |
416 | 'haveparents': True, |
|
417 | 'haveparents': True, | |
417 | 'nodes': [ |
|
418 | 'nodes': [ | |
418 | '\x99/Gy\x02\x9a=\xf8\xd0fm\x00\xbb\x92OicN&A', |
|
419 | '\x99/Gy\x02\x9a=\xf8\xd0fm\x00\xbb\x92OicN&A', | |
419 | '|2 \x1a\xa3\xa1R\xa9\xe6\xa9"+?\xa8\xd0\xe3\x0f\xc2V\xe8', |
|
420 | '|2 \x1a\xa3\xa1R\xa9\xe6\xa9"+?\xa8\xd0\xe3\x0f\xc2V\xe8', | |
420 | '\x8d\xd0W<\x7f\xaf\xe2\x04F\xcc\xea\xac\x05N\xea\xa4x\x91M\xdb', |
|
421 | '\x8d\xd0W<\x7f\xaf\xe2\x04F\xcc\xea\xac\x05N\xea\xa4x\x91M\xdb', | |
421 | '113\x85\xf2!\x8b\x08^\xb2Z\x821\x1e*\xdd\x0e\xeb\x8c3' |
|
422 | '113\x85\xf2!\x8b\x08^\xb2Z\x821\x1e*\xdd\x0e\xeb\x8c3' | |
422 | ], |
|
423 | ], | |
423 | 'tree': '' |
|
424 | 'tree': '' | |
424 | } |
|
425 | } | |
425 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
426 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
426 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
427 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
427 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
428 | received frame(size=967; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
428 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
429 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
429 | sending 1 commands |
|
430 | sending 1 commands | |
430 | sending command filesdata: { |
|
431 | sending command filesdata: { | |
431 | 'fields': set([ |
|
432 | 'fields': set([ | |
432 | 'linknode', |
|
433 | 'linknode', | |
433 | 'parents', |
|
434 | 'parents', | |
434 | 'revision' |
|
435 | 'revision' | |
435 | ]), |
|
436 | ]), | |
436 | 'haveparents': False, |
|
437 | 'haveparents': False, | |
437 | 'revisions': [ |
|
438 | 'revisions': [ | |
438 | { |
|
439 | { | |
439 | 'nodes': [ |
|
440 | 'nodes': [ | |
440 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' |
|
441 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' | |
441 | ], |
|
442 | ], | |
442 | 'type': 'changesetexplicit' |
|
443 | 'type': 'changesetexplicit' | |
443 | } |
|
444 | } | |
444 | ] |
|
445 | ] | |
445 | } |
|
446 | } | |
446 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
447 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
447 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
448 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
448 | received frame(size=1005; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
449 | received frame(size=1005; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
449 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
450 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
450 | updating the branch cache |
|
451 | updating the branch cache | |
451 | new changesets 3390ef850073:97765fc3cd62 |
|
452 | new changesets 3390ef850073:97765fc3cd62 | |
452 | updating to branch default |
|
453 | updating to branch default | |
453 | resolving manifests |
|
454 | resolving manifests | |
454 | branchmerge: False, force: False, partial: False |
|
455 | branchmerge: False, force: False, partial: False | |
455 | ancestor: 000000000000, local: 000000000000+, remote: 97765fc3cd62 |
|
456 | ancestor: 000000000000, local: 000000000000+, remote: 97765fc3cd62 | |
456 | a: remote created -> g |
|
457 | a: remote created -> g | |
457 | getting a |
|
458 | getting a | |
458 | b: remote created -> g |
|
459 | b: remote created -> g | |
459 | getting b |
|
460 | getting b | |
460 | dir0/c: remote created -> g |
|
461 | dir0/c: remote created -> g | |
461 | getting dir0/c |
|
462 | getting dir0/c | |
462 | dir0/d: remote created -> g |
|
463 | dir0/d: remote created -> g | |
463 | getting dir0/d |
|
464 | getting dir0/d | |
464 | dir1/e: remote created -> g |
|
465 | dir1/e: remote created -> g | |
465 | getting dir1/e |
|
466 | getting dir1/e | |
466 | dir1/f: remote created -> g |
|
467 | dir1/f: remote created -> g | |
467 | getting dir1/f |
|
468 | getting dir1/f | |
468 | 6 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
469 | 6 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
469 | (sent 6 HTTP requests and * bytes; received * bytes in responses) (glob) |
|
470 | (sent 6 HTTP requests and * bytes; received * bytes in responses) (glob) | |
470 |
|
471 | |||
471 | Incremental pull of shallow clone fetches new changesets |
|
472 | Incremental pull of shallow clone fetches new changesets | |
472 |
|
473 | |||
473 | $ hg --cwd client-shallow-2 --debug pull http://localhost:$HGPORT |
|
474 | $ hg --cwd client-shallow-2 --debug pull http://localhost:$HGPORT | |
474 | pulling from http://localhost:$HGPORT/ |
|
475 | pulling from http://localhost:$HGPORT/ | |
475 | using http://localhost:$HGPORT/ |
|
476 | using http://localhost:$HGPORT/ | |
476 | sending capabilities command |
|
477 | sending capabilities command | |
477 | query 1; heads |
|
478 | query 1; heads | |
478 | sending 2 commands |
|
479 | sending 2 commands | |
479 | sending command heads: {} |
|
480 | sending command heads: {} | |
480 | sending command known: { |
|
481 | sending command known: { | |
481 | 'nodes': [ |
|
482 | 'nodes': [ | |
482 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' |
|
483 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' | |
483 | ] |
|
484 | ] | |
484 | } |
|
485 | } | |
485 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
486 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
486 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
487 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
487 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
488 | received frame(size=22; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
488 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
489 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
489 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
490 | received frame(size=11; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
490 | received frame(size=2; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
491 | received frame(size=2; request=3; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
491 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) |
|
492 | received frame(size=0; request=3; stream=2; streamflags=; type=command-response; flags=eos) | |
492 | searching for changes |
|
493 | searching for changes | |
493 | all local changesets known remotely |
|
494 | all local changesets known remotely | |
494 | sending 1 commands |
|
495 | sending 1 commands | |
495 | sending command changesetdata: { |
|
496 | sending command changesetdata: { | |
496 | 'fields': set([ |
|
497 | 'fields': set([ | |
497 | 'bookmarks', |
|
498 | 'bookmarks', | |
498 | 'parents', |
|
499 | 'parents', | |
499 | 'phase', |
|
500 | 'phase', | |
500 | 'revision' |
|
501 | 'revision' | |
501 | ]), |
|
502 | ]), | |
502 | 'revisions': [ |
|
503 | 'revisions': [ | |
503 | { |
|
504 | { | |
504 | 'heads': [ |
|
505 | 'heads': [ | |
505 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' |
|
506 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' | |
506 | ], |
|
507 | ], | |
507 | 'roots': [ |
|
508 | 'roots': [ | |
508 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' |
|
509 | '\x97v_\xc3\xcdbO\xd1\xfa\x01v\x93,!\xff\xd1j\xdfC.' | |
509 | ], |
|
510 | ], | |
510 | 'type': 'changesetdagrange' |
|
511 | 'type': 'changesetdagrange' | |
511 | } |
|
512 | } | |
512 | ] |
|
513 | ] | |
513 | } |
|
514 | } | |
514 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
515 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
515 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
516 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
516 | received frame(size=400; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
517 | received frame(size=400; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
517 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
518 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
518 | add changeset dc666cf9ecf3 |
|
519 | add changeset dc666cf9ecf3 | |
519 | add changeset 93a8bd067ed2 |
|
520 | add changeset 93a8bd067ed2 | |
520 | checking for updated bookmarks |
|
521 | checking for updated bookmarks | |
521 | sending 1 commands |
|
522 | sending 1 commands | |
522 | sending command manifestdata: { |
|
523 | sending command manifestdata: { | |
523 | 'fields': set([ |
|
524 | 'fields': set([ | |
524 | 'parents', |
|
525 | 'parents', | |
525 | 'revision' |
|
526 | 'revision' | |
526 | ]), |
|
527 | ]), | |
527 | 'haveparents': True, |
|
528 | 'haveparents': True, | |
528 | 'nodes': [ |
|
529 | 'nodes': [ | |
529 | 'H]O\xc2`\xef\\\xb9\xc0p6\x88K\x00k\x11\x0ej\xdby', |
|
530 | 'H]O\xc2`\xef\\\xb9\xc0p6\x88K\x00k\x11\x0ej\xdby', | |
530 | '\xd9;\xc4\x0b\x0e*GMp\xee\xf7}^\x91/f\x7fSd\x83' |
|
531 | '\xd9;\xc4\x0b\x0e*GMp\xee\xf7}^\x91/f\x7fSd\x83' | |
531 | ], |
|
532 | ], | |
532 | 'tree': '' |
|
533 | 'tree': '' | |
533 | } |
|
534 | } | |
534 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
535 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
535 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
536 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
536 | received frame(size=561; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
537 | received frame(size=561; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
537 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
538 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
538 | sending 1 commands |
|
539 | sending 1 commands | |
539 | sending command filesdata: { |
|
540 | sending command filesdata: { | |
540 | 'fields': set([ |
|
541 | 'fields': set([ | |
541 | 'linknode', |
|
542 | 'linknode', | |
542 | 'parents', |
|
543 | 'parents', | |
543 | 'revision' |
|
544 | 'revision' | |
544 | ]), |
|
545 | ]), | |
545 | 'haveparents': False, |
|
546 | 'haveparents': False, | |
546 | 'revisions': [ |
|
547 | 'revisions': [ | |
547 | { |
|
548 | { | |
548 | 'nodes': [ |
|
549 | 'nodes': [ | |
549 | '\xdcfl\xf9\xec\xf3\xd9Nk\x83\x0f0\xe5\xf1\'.*\x91d\xd9', |
|
550 | '\xdcfl\xf9\xec\xf3\xd9Nk\x83\x0f0\xe5\xf1\'.*\x91d\xd9', | |
550 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' |
|
551 | '\x93\xa8\xbd\x06~\xd2\x84\r\x9a\xa8\x10\xadY\x81h8::,:' | |
551 | ], |
|
552 | ], | |
552 | 'type': 'changesetexplicit' |
|
553 | 'type': 'changesetexplicit' | |
553 | } |
|
554 | } | |
554 | ] |
|
555 | ] | |
555 | } |
|
556 | } | |
556 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) |
|
557 | received frame(size=9; request=1; stream=2; streamflags=stream-begin; type=stream-settings; flags=eos) | |
557 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
558 | received frame(size=11; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
558 | received frame(size=1373; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) |
|
559 | received frame(size=1373; request=1; stream=2; streamflags=encoded; type=command-response; flags=continuation) | |
559 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) |
|
560 | received frame(size=0; request=1; stream=2; streamflags=; type=command-response; flags=eos) | |
560 | updating the branch cache |
|
561 | updating the branch cache | |
561 | new changesets dc666cf9ecf3:93a8bd067ed2 |
|
562 | new changesets dc666cf9ecf3:93a8bd067ed2 | |
562 | (run 'hg update' to get a working copy) |
|
563 | (run 'hg update' to get a working copy) | |
563 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) |
|
564 | (sent 5 HTTP requests and * bytes; received * bytes in responses) (glob) | |
564 |
|
565 | |||
565 | $ hg --cwd client-shallow-2 up tip |
|
566 | $ hg --cwd client-shallow-2 up tip | |
566 | merging dir0/c |
|
567 | merging dir0/c | |
567 | merging dir1/e |
|
568 | merging dir1/e | |
568 | 3 files updated, 2 files merged, 0 files removed, 0 files unresolved |
|
569 | 3 files updated, 2 files merged, 0 files removed, 0 files unresolved |
General Comments 0
You need to be logged in to leave comments.
Login now