Mercurial > hg
comparison tests/test-clonebundles.t @ 37842:326b174c6a47 stable
bundle2: mark the bundle2 part as advisory (issue5872)
It blocks old clients to read bundle including this part.
Differential Revision: https://phab.mercurial-scm.org/D3481
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 08 May 2018 14:17:46 -0700 |
parents | b77aa48ba690 |
children | ead71b15efd5 |
comparison
equal
deleted
inserted
replaced
37841:d618558e4e8b | 37842:326b174c6a47 |
---|---|
184 0130: 69 89 16 66 29 86 29 49 5c 20 07 3e 16 fe 23 ae |i..f).)I\ .>..#.| | 184 0130: 69 89 16 66 29 86 29 49 5c 20 07 3e 16 fe 23 ae |i..f).)I\ .>..#.| |
185 0140: 26 da 1c ab 10 1f d1 f8 e3 b3 ef cd dd fc 0c 93 |&...............| | 185 0140: 26 da 1c ab 10 1f d1 f8 e3 b3 ef cd dd fc 0c 93 |&...............| |
186 0150: 88 75 34 36 75 04 82 55 17 14 36 a4 38 10 04 d8 |.u46u..U..6.8...| | 186 0150: 88 75 34 36 75 04 82 55 17 14 36 a4 38 10 04 d8 |.u46u..U..6.8...| |
187 0160: 21 01 9a b1 83 f7 e9 45 8b d2 56 c7 a3 1f 82 52 |!......E..V....R| | 187 0160: 21 01 9a b1 83 f7 e9 45 8b d2 56 c7 a3 1f 82 52 |!......E..V....R| |
188 0170: d7 8a 78 ed fc d5 76 f1 36 25 81 89 c7 ad ec 90 |..x...v.6%......| | 188 0170: d7 8a 78 ed fc d5 76 f1 36 25 81 89 c7 ad ec 90 |..x...v.6%......| |
189 0180: 54 47 75 2b 89 48 b1 b2 62 ce 8e ce 1e ae 56 41 |TGu+.H..b.....VA| | 189 0180: 54 47 75 2b 89 48 b1 b2 62 c9 89 c9 19 a9 56 45 |TGu+.H..b.....VE| |
190 0190: ae 61 ba 4e 41 8e 7e ce 1e ba 60 01 a0 14 23 58 |.a.NA.~...`...#X| | 190 0190: a9 65 ba 49 45 89 79 c9 19 ba 60 01 a0 14 23 58 |.e.IE.y...`...#X| |
191 01a0: 81 35 c8 7d 40 cc 04 e2 a4 a4 a6 25 96 e6 94 60 |.5.}@......%...`| | 191 01a0: 81 35 c8 7d 40 cc 04 e2 a4 a4 a6 25 96 e6 94 60 |.5.}@......%...`| |
192 01b0: 33 17 5f 54 00 00 01 1b 0a ec |3._T......| | 192 01b0: 33 17 5f 54 00 00 d3 1b 0d 4c |3._T.....L| |
193 | 193 |
194 $ echo "http://localhost:$HGPORT1/full.hg" > server/.hg/clonebundles.manifest | 194 $ echo "http://localhost:$HGPORT1/full.hg" > server/.hg/clonebundles.manifest |
195 $ hg clone -U http://localhost:$HGPORT full-bundle | 195 $ hg clone -U http://localhost:$HGPORT full-bundle |
196 applying clone bundle from http://localhost:$HGPORT1/full.hg | 196 applying clone bundle from http://localhost:$HGPORT1/full.hg |
197 adding changesets | 197 adding changesets |
528 $ killdaemons.py | 528 $ killdaemons.py |
529 $ hg -R server serve -d -p $HGPORT --pid-file hg.pid --accesslog access.log | 529 $ hg -R server serve -d -p $HGPORT --pid-file hg.pid --accesslog access.log |
530 $ cat hg.pid >> $DAEMON_PIDS | 530 $ cat hg.pid >> $DAEMON_PIDS |
531 | 531 |
532 $ hg -R server debuglfput gz-a.hg | 532 $ hg -R server debuglfput gz-a.hg |
533 14ee2f0b3f1d14aeeb2fe037e09fc295c3cf59f5 | 533 1f74b3d08286b9b3a16fb3fa185dd29219cbc6ae |
534 | 534 |
535 $ cat > server/.hg/clonebundles.manifest << EOF | 535 $ cat > server/.hg/clonebundles.manifest << EOF |
536 > largefile://14ee2f0b3f1d14aeeb2fe037e09fc295c3cf59f5 BUNDLESPEC=gzip-v2 | 536 > largefile://1f74b3d08286b9b3a16fb3fa185dd29219cbc6ae BUNDLESPEC=gzip-v2 |
537 > EOF | 537 > EOF |
538 | 538 |
539 $ hg clone -U http://localhost:$HGPORT largefile-provided --traceback | 539 $ hg clone -U http://localhost:$HGPORT largefile-provided --traceback |
540 applying clone bundle from largefile://14ee2f0b3f1d14aeeb2fe037e09fc295c3cf59f5 | 540 applying clone bundle from largefile://1f74b3d08286b9b3a16fb3fa185dd29219cbc6ae |
541 adding changesets | 541 adding changesets |
542 adding manifests | 542 adding manifests |
543 adding file changes | 543 adding file changes |
544 added 2 changesets with 2 changes to 2 files | 544 added 2 changesets with 2 changes to 2 files |
545 finished applying clone bundle | 545 finished applying clone bundle |
546 searching for changes | 546 searching for changes |
547 no changes found | 547 no changes found |