equal
deleted
inserted
replaced
127 adding changesets |
127 adding changesets |
128 adding manifests |
128 adding manifests |
129 adding file changes |
129 adding file changes |
130 added 1 changesets with 1 changes to 1 files |
130 added 1 changesets with 1 changes to 1 files |
131 new changesets aaff8d2ffbbf |
131 new changesets aaff8d2ffbbf |
|
132 1 changesets became public |
132 |
133 |
133 Incremental pull doesn't fetch bundle |
134 Incremental pull doesn't fetch bundle |
134 |
135 |
135 $ hg clone -r 53245c60e682 -U http://localhost:$HGPORT partial-clone |
136 $ hg clone -r 53245c60e682 -U http://localhost:$HGPORT partial-clone |
136 adding changesets |
137 adding changesets |
199 adding file changes |
200 adding file changes |
200 added 2 changesets with 2 changes to 2 files |
201 added 2 changesets with 2 changes to 2 files |
201 finished applying clone bundle |
202 finished applying clone bundle |
202 searching for changes |
203 searching for changes |
203 no changes found |
204 no changes found |
|
205 2 changesets became public |
204 |
206 |
205 Feature works over SSH |
207 Feature works over SSH |
206 |
208 |
207 $ hg clone -U -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/server ssh-full-clone |
209 $ hg clone -U -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/server ssh-full-clone |
208 applying clone bundle from http://localhost:$HGPORT1/full.hg |
210 applying clone bundle from http://localhost:$HGPORT1/full.hg |
211 adding file changes |
213 adding file changes |
212 added 2 changesets with 2 changes to 2 files |
214 added 2 changesets with 2 changes to 2 files |
213 finished applying clone bundle |
215 finished applying clone bundle |
214 searching for changes |
216 searching for changes |
215 no changes found |
217 no changes found |
|
218 2 changesets became public |
216 |
219 |
217 Entry with unknown BUNDLESPEC is filtered and not used |
220 Entry with unknown BUNDLESPEC is filtered and not used |
218 |
221 |
219 $ cat > server/.hg/clonebundles.manifest << EOF |
222 $ cat > server/.hg/clonebundles.manifest << EOF |
220 > http://bad.entry1 BUNDLESPEC=UNKNOWN |
223 > http://bad.entry1 BUNDLESPEC=UNKNOWN |
230 adding file changes |
233 adding file changes |
231 added 2 changesets with 2 changes to 2 files |
234 added 2 changesets with 2 changes to 2 files |
232 finished applying clone bundle |
235 finished applying clone bundle |
233 searching for changes |
236 searching for changes |
234 no changes found |
237 no changes found |
|
238 2 changesets became public |
235 |
239 |
236 Automatic fallback when all entries are filtered |
240 Automatic fallback when all entries are filtered |
237 |
241 |
238 $ cat > server/.hg/clonebundles.manifest << EOF |
242 $ cat > server/.hg/clonebundles.manifest << EOF |
239 > http://bad.entry BUNDLESPEC=UNKNOWN |
243 > http://bad.entry BUNDLESPEC=UNKNOWN |
267 adding file changes |
271 adding file changes |
268 added 2 changesets with 2 changes to 2 files |
272 added 2 changesets with 2 changes to 2 files |
269 finished applying clone bundle |
273 finished applying clone bundle |
270 searching for changes |
274 searching for changes |
271 no changes found |
275 no changes found |
|
276 2 changesets became public |
272 #else |
277 #else |
273 Python <2.7.9 will filter SNI URLs |
278 Python <2.7.9 will filter SNI URLs |
274 |
279 |
275 $ hg clone -U http://localhost:$HGPORT sni-unsupported |
280 $ hg clone -U http://localhost:$HGPORT sni-unsupported |
276 applying clone bundle from http://localhost:$HGPORT1/full.hg |
281 applying clone bundle from http://localhost:$HGPORT1/full.hg |
371 adding file changes |
376 adding file changes |
372 added 2 changesets with 2 changes to 2 files |
377 added 2 changesets with 2 changes to 2 files |
373 finished applying clone bundle |
378 finished applying clone bundle |
374 searching for changes |
379 searching for changes |
375 no changes found |
380 no changes found |
|
381 2 changesets became public |
376 |
382 |
377 Preferring bz2 type will download first entry of that type |
383 Preferring bz2 type will download first entry of that type |
378 |
384 |
379 $ hg --config ui.clonebundleprefers=COMPRESSION=bzip2 clone -U http://localhost:$HGPORT prefer-bz |
385 $ hg --config ui.clonebundleprefers=COMPRESSION=bzip2 clone -U http://localhost:$HGPORT prefer-bz |
380 applying clone bundle from http://localhost:$HGPORT1/bz2-a.hg |
386 applying clone bundle from http://localhost:$HGPORT1/bz2-a.hg |
383 adding file changes |
389 adding file changes |
384 added 2 changesets with 2 changes to 2 files |
390 added 2 changesets with 2 changes to 2 files |
385 finished applying clone bundle |
391 finished applying clone bundle |
386 searching for changes |
392 searching for changes |
387 no changes found |
393 no changes found |
|
394 2 changesets became public |
388 |
395 |
389 Preferring multiple values of an option works |
396 Preferring multiple values of an option works |
390 |
397 |
391 $ hg --config ui.clonebundleprefers=COMPRESSION=unknown,COMPRESSION=bzip2 clone -U http://localhost:$HGPORT prefer-multiple-bz |
398 $ hg --config ui.clonebundleprefers=COMPRESSION=unknown,COMPRESSION=bzip2 clone -U http://localhost:$HGPORT prefer-multiple-bz |
392 applying clone bundle from http://localhost:$HGPORT1/bz2-a.hg |
399 applying clone bundle from http://localhost:$HGPORT1/bz2-a.hg |
395 adding file changes |
402 adding file changes |
396 added 2 changesets with 2 changes to 2 files |
403 added 2 changesets with 2 changes to 2 files |
397 finished applying clone bundle |
404 finished applying clone bundle |
398 searching for changes |
405 searching for changes |
399 no changes found |
406 no changes found |
|
407 2 changesets became public |
400 |
408 |
401 Sorting multiple values should get us back to original first entry |
409 Sorting multiple values should get us back to original first entry |
402 |
410 |
403 $ hg --config ui.clonebundleprefers=BUNDLESPEC=unknown,BUNDLESPEC=gzip-v2,BUNDLESPEC=bzip2-v2 clone -U http://localhost:$HGPORT prefer-multiple-gz |
411 $ hg --config ui.clonebundleprefers=BUNDLESPEC=unknown,BUNDLESPEC=gzip-v2,BUNDLESPEC=bzip2-v2 clone -U http://localhost:$HGPORT prefer-multiple-gz |
404 applying clone bundle from http://localhost:$HGPORT1/gz-a.hg |
412 applying clone bundle from http://localhost:$HGPORT1/gz-a.hg |
407 adding file changes |
415 adding file changes |
408 added 2 changesets with 2 changes to 2 files |
416 added 2 changesets with 2 changes to 2 files |
409 finished applying clone bundle |
417 finished applying clone bundle |
410 searching for changes |
418 searching for changes |
411 no changes found |
419 no changes found |
|
420 2 changesets became public |
412 |
421 |
413 Preferring multiple attributes has correct order |
422 Preferring multiple attributes has correct order |
414 |
423 |
415 $ hg --config ui.clonebundleprefers=extra=b,BUNDLESPEC=bzip2-v2 clone -U http://localhost:$HGPORT prefer-separate-attributes |
424 $ hg --config ui.clonebundleprefers=extra=b,BUNDLESPEC=bzip2-v2 clone -U http://localhost:$HGPORT prefer-separate-attributes |
416 applying clone bundle from http://localhost:$HGPORT1/bz2-b.hg |
425 applying clone bundle from http://localhost:$HGPORT1/bz2-b.hg |
419 adding file changes |
428 adding file changes |
420 added 2 changesets with 2 changes to 2 files |
429 added 2 changesets with 2 changes to 2 files |
421 finished applying clone bundle |
430 finished applying clone bundle |
422 searching for changes |
431 searching for changes |
423 no changes found |
432 no changes found |
|
433 2 changesets became public |
424 |
434 |
425 Test where attribute is missing from some entries |
435 Test where attribute is missing from some entries |
426 |
436 |
427 $ cat > server/.hg/clonebundles.manifest << EOF |
437 $ cat > server/.hg/clonebundles.manifest << EOF |
428 > http://localhost:$HGPORT1/gz-a.hg BUNDLESPEC=gzip-v2 |
438 > http://localhost:$HGPORT1/gz-a.hg BUNDLESPEC=gzip-v2 |
438 adding file changes |
448 adding file changes |
439 added 2 changesets with 2 changes to 2 files |
449 added 2 changesets with 2 changes to 2 files |
440 finished applying clone bundle |
450 finished applying clone bundle |
441 searching for changes |
451 searching for changes |
442 no changes found |
452 no changes found |
|
453 2 changesets became public |
443 |
454 |
444 Test interaction between clone bundles and --stream |
455 Test interaction between clone bundles and --stream |
445 |
456 |
446 A manifest with just a gzip bundle |
457 A manifest with just a gzip bundle |
447 |
458 |
543 adding file changes |
554 adding file changes |
544 added 2 changesets with 2 changes to 2 files |
555 added 2 changesets with 2 changes to 2 files |
545 finished applying clone bundle |
556 finished applying clone bundle |
546 searching for changes |
557 searching for changes |
547 no changes found |
558 no changes found |
|
559 2 changesets became public |