equal
deleted
inserted
replaced
26 requesting all changes |
26 requesting all changes |
27 adding changesets |
27 adding changesets |
28 adding manifests |
28 adding manifests |
29 adding file changes |
29 adding file changes |
30 added 2 changesets with 2 changes to 2 files |
30 added 2 changesets with 2 changes to 2 files |
|
31 new changesets 53245c60e682:aaff8d2ffbbf |
31 |
32 |
32 $ cat server/access.log |
33 $ cat server/access.log |
33 * - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob) |
34 * - - [*] "GET /?cmd=capabilities HTTP/1.1" 200 - (glob) |
34 * - - [*] "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob) |
35 * - - [*] "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob) |
35 * - - [*] "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Aphases%253Dheads%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=aaff8d2ffbbf07a46dd1f05d8ae7877e3f56e2a2&listkeys=bookmarks&phases=1 x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob) |
36 * - - [*] "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Aphases%253Dheads%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=aaff8d2ffbbf07a46dd1f05d8ae7877e3f56e2a2&listkeys=bookmarks&phases=1 x-hgproto-1:0.1 0.2 comp=*zlib,none,bzip2 (glob) |
43 requesting all changes |
44 requesting all changes |
44 adding changesets |
45 adding changesets |
45 adding manifests |
46 adding manifests |
46 adding file changes |
47 adding file changes |
47 added 2 changesets with 2 changes to 2 files |
48 added 2 changesets with 2 changes to 2 files |
|
49 new changesets 53245c60e682:aaff8d2ffbbf |
48 |
50 |
49 Manifest file with invalid URL aborts |
51 Manifest file with invalid URL aborts |
50 |
52 |
51 $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest |
53 $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest |
52 $ hg clone http://localhost:$HGPORT 404-url |
54 $ hg clone http://localhost:$HGPORT 404-url |
87 requesting all changes |
89 requesting all changes |
88 adding changesets |
90 adding changesets |
89 adding manifests |
91 adding manifests |
90 adding file changes |
92 adding file changes |
91 added 2 changesets with 2 changes to 2 files |
93 added 2 changesets with 2 changes to 2 files |
|
94 new changesets 53245c60e682:aaff8d2ffbbf |
92 |
95 |
93 Bundle with partial content works |
96 Bundle with partial content works |
94 |
97 |
95 $ hg -R server bundle --type gzip-v1 --base null -r 53245c60e682 partial.hg |
98 $ hg -R server bundle --type gzip-v1 --base null -r 53245c60e682 partial.hg |
96 1 changesets found |
99 1 changesets found |
125 searching for changes |
128 searching for changes |
126 adding changesets |
129 adding changesets |
127 adding manifests |
130 adding manifests |
128 adding file changes |
131 adding file changes |
129 added 1 changesets with 1 changes to 1 files |
132 added 1 changesets with 1 changes to 1 files |
|
133 new changesets aaff8d2ffbbf |
130 |
134 |
131 Incremental pull doesn't fetch bundle |
135 Incremental pull doesn't fetch bundle |
132 |
136 |
133 $ hg clone -r 53245c60e682 -U http://localhost:$HGPORT partial-clone |
137 $ hg clone -r 53245c60e682 -U http://localhost:$HGPORT partial-clone |
134 adding changesets |
138 adding changesets |
135 adding manifests |
139 adding manifests |
136 adding file changes |
140 adding file changes |
137 added 1 changesets with 1 changes to 1 files |
141 added 1 changesets with 1 changes to 1 files |
|
142 new changesets 53245c60e682 |
138 |
143 |
139 $ cd partial-clone |
144 $ cd partial-clone |
140 $ hg pull |
145 $ hg pull |
141 pulling from http://localhost:$HGPORT/ |
146 pulling from http://localhost:$HGPORT/ |
142 searching for changes |
147 searching for changes |
143 adding changesets |
148 adding changesets |
144 adding manifests |
149 adding manifests |
145 adding file changes |
150 adding file changes |
146 added 1 changesets with 1 changes to 1 files |
151 added 1 changesets with 1 changes to 1 files |
|
152 new changesets aaff8d2ffbbf |
147 (run 'hg update' to get a working copy) |
153 (run 'hg update' to get a working copy) |
148 $ cd .. |
154 $ cd .. |
149 |
155 |
150 Bundle with full content works |
156 Bundle with full content works |
151 |
157 |
238 requesting all changes |
244 requesting all changes |
239 adding changesets |
245 adding changesets |
240 adding manifests |
246 adding manifests |
241 adding file changes |
247 adding file changes |
242 added 2 changesets with 2 changes to 2 files |
248 added 2 changesets with 2 changes to 2 files |
|
249 new changesets 53245c60e682:aaff8d2ffbbf |
243 |
250 |
244 URLs requiring SNI are filtered in Python <2.7.9 |
251 URLs requiring SNI are filtered in Python <2.7.9 |
245 |
252 |
246 $ cp full.hg sni.hg |
253 $ cp full.hg sni.hg |
247 $ cat > server/.hg/clonebundles.manifest << EOF |
254 $ cat > server/.hg/clonebundles.manifest << EOF |
335 requesting all changes |
342 requesting all changes |
336 adding changesets |
343 adding changesets |
337 adding manifests |
344 adding manifests |
338 adding file changes |
345 adding file changes |
339 added 2 changesets with 2 changes to 2 files |
346 added 2 changesets with 2 changes to 2 files |
|
347 new changesets 53245c60e682:aaff8d2ffbbf |
340 |
348 |
341 Set up manifest for testing preferences |
349 Set up manifest for testing preferences |
342 (Remember, the TYPE does not have to match reality - the URL is |
350 (Remember, the TYPE does not have to match reality - the URL is |
343 important) |
351 important) |
344 |
352 |