test-clonebundles-autogen.t
490 lines
| 16.6 KiB
| text/troff
|
Tads3Lexer
/ tests / test-clonebundles-autogen.t
r51299 | ||||
#require no-reposimplestore no-chg | ||||
initial setup | ||||
$ hg init server | ||||
$ cat >> server/.hg/hgrc << EOF | ||||
> [extensions] | ||||
> clonebundles = | ||||
> | ||||
> [clone-bundles] | ||||
r51303 | > auto-generate.on-change = yes | |||
r51299 | > auto-generate.formats = v2 | |||
> upload-command = cp "\$HGCB_BUNDLE_PATH" "$TESTTMP"/final-upload/ | ||||
r51300 | > delete-command = rm -f "$TESTTMP/final-upload/\$HGCB_BASENAME" | |||
r51299 | > url-template = file://$TESTTMP/final-upload/{basename} | |||
> | ||||
> [devel] | ||||
> debug.clonebundles=yes | ||||
> EOF | ||||
$ mkdir final-upload | ||||
$ hg clone server client | ||||
updating to branch default | ||||
0 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
$ cd client | ||||
Test bundles are generated on push | ||||
================================== | ||||
$ touch foo | ||||
$ hg -q commit -A -m 'add foo' | ||||
$ touch bar | ||||
$ hg -q commit -A -m 'add bar' | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
2 changesets found | ||||
added 2 changesets with 2 changes to 2 files | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v2 | |||
r51299 | $ cat ../server/.hg/clonebundles.manifest | |||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v2-2_revs-aaff8d2ffbbf_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) | |||
r51299 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v2-2_revs-aaff8d2ffbbf_tip-*_txn.hg (glob) | |||
r51299 | $ ls -1 ../server/.hg/tmp-bundles | |||
Newer bundles are generated with more pushes | ||||
-------------------------------------------- | ||||
$ touch baz | ||||
$ hg -q commit -A -m 'add baz' | ||||
$ touch buz | ||||
$ hg -q commit -A -m 'add buz' | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
4 changesets found | ||||
added 2 changesets with 2 changes to 2 files | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v2 | |||
r51299 | ||||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) | |||
r51299 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v2-2_revs-aaff8d2ffbbf_tip-*_txn.hg (glob) | |||
full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg (glob) | ||||
r51299 | $ ls -1 ../server/.hg/tmp-bundles | |||
r51300 | ||||
Older bundles are cleaned up with more pushes | ||||
--------------------------------------------- | ||||
$ touch faz | ||||
$ hg -q commit -A -m 'add faz' | ||||
$ touch fuz | ||||
$ hg -q commit -A -m 'add fuz' | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
r51606 | clone-bundles: deleting bundle full-bzip2-v2-2_revs-aaff8d2ffbbf_tip-*_txn.hg (glob) | |||
r51300 | 6 changesets found | |||
added 2 changesets with 2 changes to 2 files | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v2 | |||
r51300 | ||||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) | |||
r51300 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg (glob) | |||
full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) | ||||
r51300 | $ ls -1 ../server/.hg/tmp-bundles | |||
r51301 | ||||
Test conditions to get them generated | ||||
===================================== | ||||
Check ratio | ||||
$ cat >> ../server/.hg/hgrc << EOF | ||||
> [clone-bundles] | ||||
> trigger.below-bundled-ratio = 0.5 | ||||
> EOF | ||||
$ touch far | ||||
$ hg -q commit -A -m 'add far' | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 1 changesets with 1 changes to 1 files | ||||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) | |||
r51301 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg (glob) | |||
full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) | ||||
r51301 | $ ls -1 ../server/.hg/tmp-bundles | |||
r51302 | Check absolute number of revisions | |||
$ cat >> ../server/.hg/hgrc << EOF | ||||
> [clone-bundles] | ||||
> trigger.revs = 2 | ||||
> EOF | ||||
$ touch bur | ||||
$ hg -q commit -A -m 'add bur' | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
r51606 | clone-bundles: deleting bundle full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg (glob) | |||
r51302 | 8 changesets found | |||
added 1 changesets with 1 changes to 1 files | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v2 | |||
r51302 | $ cat ../server/.hg/clonebundles.manifest | |||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) | |||
r51302 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) | |||
full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg (glob) | ||||
r51302 | $ ls -1 ../server/.hg/tmp-bundles | |||
(that one would not generate new bundles) | ||||
$ touch tur | ||||
$ hg -q commit -A -m 'add tur' | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 1 changesets with 1 changes to 1 files | ||||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) | |||
r51302 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) | |||
full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg (glob) | ||||
r51302 | $ ls -1 ../server/.hg/tmp-bundles | |||
r51304 | ||||
Test generation through the dedicated command | ||||
============================================= | ||||
$ cat >> ../server/.hg/hgrc << EOF | ||||
> [clone-bundles] | ||||
> auto-generate.on-change = no | ||||
> EOF | ||||
Check the command can generate content when needed | ||||
-------------------------------------------------- | ||||
Do a push that makes the condition fulfilled, | ||||
Yet it should not automatically generate a bundle with | ||||
"auto-generate.on-change" not set. | ||||
$ touch quoi | ||||
$ hg -q commit -A -m 'add quoi' | ||||
$ pre_push_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` | ||||
$ pre_push_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` | ||||
$ ls -1 ../server/.hg/tmp-bundles | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 1 changesets with 1 changes to 1 files | ||||
$ post_push_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` | ||||
$ post_push_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` | ||||
$ ls -1 ../server/.hg/tmp-bundles | ||||
$ test "$pre_push_manifest" = "$post_push_manifest" | ||||
$ test "$pre_push_upload" = "$post_push_upload" | ||||
Running the command should detect the stale bundles, and do the full automatic | ||||
generation logic. | ||||
$ hg -R ../server/ admin::clone-bundles-refresh | ||||
r51606 | clone-bundles: deleting bundle full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) | |||
clone-bundles: starting bundle generation: bzip2-v2 | ||||
r51304 | 10 changesets found | |||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) | |||
r51304 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) | |||
full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg (glob) | ||||
r51304 | $ ls -1 ../server/.hg/tmp-bundles | |||
Check the command cleans up older bundles when possible | ||||
------------------------------------------------------- | ||||
$ hg -R ../server/ admin::clone-bundles-refresh | ||||
r51606 | clone-bundles: deleting bundle full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg (glob) | |||
r51304 | $ cat ../server/.hg/clonebundles.manifest | |||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) | |||
r51304 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) | |||
r51304 | $ ls -1 ../server/.hg/tmp-bundles | |||
Nothing is generated when the bundles are sufficiently up to date | ||||
----------------------------------------------------------------- | ||||
$ touch feur | ||||
$ hg -q commit -A -m 'add feur' | ||||
$ pre_push_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` | ||||
$ pre_push_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` | ||||
$ ls -1 ../server/.hg/tmp-bundles | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 1 changesets with 1 changes to 1 files | ||||
$ post_push_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` | ||||
$ post_push_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` | ||||
$ ls -1 ../server/.hg/tmp-bundles | ||||
$ test "$pre_push_manifest" = "$post_push_manifest" | ||||
$ test "$pre_push_upload" = "$post_push_upload" | ||||
$ hg -R ../server/ admin::clone-bundles-refresh | ||||
$ post_refresh_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` | ||||
$ post_refresh_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` | ||||
$ ls -1 ../server/.hg/tmp-bundles | ||||
$ test "$pre_push_manifest" = "$post_refresh_manifest" | ||||
$ test "$pre_push_upload" = "$post_refresh_upload" | ||||
r51305 | ||||
Test modification of configuration | ||||
================================== | ||||
Testing that later runs adapt to configuration changes even if the repository is | ||||
unchanged. | ||||
adding more formats | ||||
------------------- | ||||
bundle for added formats should be generated | ||||
change configuration | ||||
$ cat >> ../server/.hg/hgrc << EOF | ||||
> [clone-bundles] | ||||
> auto-generate.formats = v1, v2 | ||||
> EOF | ||||
refresh the bundles | ||||
$ hg -R ../server/ admin::clone-bundles-refresh | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v1 | |||
r51305 | 11 changesets found | |||
the bundle for the "new" format should have been added | ||||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) | |||
file:/*/$TESTTMP/final-upload/full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) | ||||
r51305 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | |||
full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) | ||||
r51305 | $ ls -1 ../server/.hg/tmp-bundles | |||
Changing the ratio | ||||
------------------ | ||||
Changing the ratio to something that would have triggered a bundle during the last push. | ||||
$ cat >> ../server/.hg/hgrc << EOF | ||||
> [clone-bundles] | ||||
> trigger.below-bundled-ratio = 0.95 | ||||
> EOF | ||||
refresh the bundles | ||||
$ hg -R ../server/ admin::clone-bundles-refresh | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v2 | |||
r51305 | 11 changesets found | |||
the "outdated' bundle should be refreshed | ||||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) | |||
file:/*/$TESTTMP/final-upload/full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) | ||||
r51305 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | |||
full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) | ||||
full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | ||||
r51305 | $ ls -1 ../server/.hg/tmp-bundles | |||
r51306 | ||||
Test more command options | ||||
========================= | ||||
bundle clearing | ||||
--------------- | ||||
$ hg -R ../server/ admin::clone-bundles-clear | ||||
r51606 | clone-bundles: deleting bundle full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | |||
clone-bundles: deleting bundle full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) | ||||
clone-bundles: deleting bundle full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | ||||
r51306 | ||||
Nothing should remain | ||||
$ cat ../server/.hg/clonebundles.manifest | ||||
$ ls -1 ../final-upload | ||||
$ ls -1 ../server/.hg/tmp-bundles | ||||
r51307 | ||||
background generation | ||||
--------------------- | ||||
generate bundle using background subprocess | ||||
(since we are in devel mode, the command will still wait for the background | ||||
process to end) | ||||
$ hg -R ../server/ admin::clone-bundles-refresh --background | ||||
11 changesets found | ||||
11 changesets found | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v1 | |||
clone-bundles: starting bundle generation: bzip2-v2 | ||||
r51307 | ||||
bundles should have been generated | ||||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | file:/*/$TESTTMP/final-upload/full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) | |||
file:/*/$TESTTMP/final-upload/full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) | ||||
r51307 | $ ls -1 ../final-upload | |||
r51606 | full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | |||
full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | ||||
r51307 | $ ls -1 ../server/.hg/tmp-bundles | |||
r51603 | ||||
Test HTTP URL | ||||
========================= | ||||
$ hg -R ../server/ admin::clone-bundles-clear | ||||
r51606 | clone-bundles: deleting bundle full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | |||
clone-bundles: deleting bundle full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | ||||
r51603 | ||||
$ cat >> ../server/.hg/hgrc << EOF | ||||
> [clone-bundles] | ||||
> url-template = https://example.com/final-upload/{basename} | ||||
> EOF | ||||
$ hg -R ../server/ admin::clone-bundles-refresh | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v1 | |||
r51603 | 11 changesets found | |||
r51606 | clone-bundles: starting bundle generation: bzip2-v2 | |||
r51603 | 11 changesets found | |||
bundles should have been generated with the SNIREQUIRED option | ||||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | https://example.com/final-upload/full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 REQUIRESNI=true (glob) | |||
https://example.com/final-upload/full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 REQUIRESNI=true (glob) | ||||
r51604 | ||||
Test serving them through inline-clone bundle | ||||
============================================= | ||||
$ cat >> ../server/.hg/hgrc << EOF | ||||
> [clone-bundles] | ||||
> auto-generate.serve-inline=yes | ||||
> EOF | ||||
$ hg -R ../server/ admin::clone-bundles-clear | ||||
r51606 | clone-bundles: deleting bundle full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | |||
clone-bundles: deleting bundle full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | ||||
r51604 | ||||
initial generation | ||||
------------------ | ||||
$ hg -R ../server/ admin::clone-bundles-refresh | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v1 | |||
r51604 | 11 changesets found | |||
r51606 | clone-bundles: starting bundle generation: bzip2-v2 | |||
r51604 | 11 changesets found | |||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | peer-bundle-cache://full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) | |||
peer-bundle-cache://full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) | ||||
r51604 | $ ls -1 ../server/.hg/bundle-cache | |||
r51606 | full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | |||
full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | ||||
r51604 | $ ls -1 ../final-upload | |||
Regeneration eventually cleanup the old ones | ||||
-------------------------------------------- | ||||
create more content | ||||
$ touch voit | ||||
$ hg -q commit -A -m 'add voit' | ||||
$ touch ar | ||||
$ hg -q commit -A -m 'add ar' | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 2 changesets with 2 changes to 2 files | ||||
check first regeneration | ||||
$ hg -R ../server/ admin::clone-bundles-refresh | ||||
r51606 | clone-bundles: starting bundle generation: bzip2-v1 | |||
r51604 | 13 changesets found | |||
r51606 | clone-bundles: starting bundle generation: bzip2-v2 | |||
r51604 | 13 changesets found | |||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | peer-bundle-cache://full-bzip2-v1-13_revs-8a81f9be54ea_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) | |||
peer-bundle-cache://full-bzip2-v2-13_revs-8a81f9be54ea_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) | ||||
r51604 | $ ls -1 ../server/.hg/bundle-cache | |||
r51606 | full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | |||
full-bzip2-v1-13_revs-8a81f9be54ea_tip-*_acbr.hg (glob) | ||||
full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | ||||
full-bzip2-v2-13_revs-8a81f9be54ea_tip-*_acbr.hg (glob) | ||||
r51604 | $ ls -1 ../final-upload | |||
check first regeneration (should cleanup the one before that last) | ||||
$ touch "investi" | ||||
$ hg -q commit -A -m 'add investi' | ||||
$ touch "lesgisla" | ||||
$ hg -q commit -A -m 'add lesgisla' | ||||
$ hg push | ||||
pushing to $TESTTMP/server | ||||
searching for changes | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 2 changesets with 2 changes to 2 files | ||||
$ hg -R ../server/ admin::clone-bundles-refresh | ||||
r51606 | clone-bundles: deleting inline bundle full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | |||
clone-bundles: deleting inline bundle full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) | ||||
clone-bundles: starting bundle generation: bzip2-v1 | ||||
r51604 | 15 changesets found | |||
r51606 | clone-bundles: starting bundle generation: bzip2-v2 | |||
r51604 | 15 changesets found | |||
$ cat ../server/.hg/clonebundles.manifest | ||||
r51606 | peer-bundle-cache://full-bzip2-v1-15_revs-17615b3984c2_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) | |||
peer-bundle-cache://full-bzip2-v2-15_revs-17615b3984c2_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) | ||||
r51604 | $ ls -1 ../server/.hg/bundle-cache | |||
r51606 | full-bzip2-v1-13_revs-8a81f9be54ea_tip-*_acbr.hg (glob) | |||
full-bzip2-v1-15_revs-17615b3984c2_tip-*_acbr.hg (glob) | ||||
full-bzip2-v2-13_revs-8a81f9be54ea_tip-*_acbr.hg (glob) | ||||
full-bzip2-v2-15_revs-17615b3984c2_tip-*_acbr.hg (glob) | ||||
r51604 | $ ls -1 ../final-upload | |||
r51606 | ||||
Check the url is correct | ||||
------------------------ | ||||
$ hg clone -U ssh://user@dummy/server ssh-inline-clone | ||||
applying clone bundle from peer-bundle-cache://full-bzip2-v1-15_revs-17615b3984c2_tip-*_acbr.hg (glob) | ||||
adding changesets | ||||
adding manifests | ||||
adding file changes | ||||
added 15 changesets with 15 changes to 15 files | ||||
finished applying clone bundle | ||||
searching for changes | ||||
no changes found | ||||
15 local changesets published | ||||