author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Sun, 10 Nov 2024 00:59:43 +0100 | |
branch | stable |
changeset 52233 | e25e4647437b |
parent 52097 | ff1872e8c0bf |
permissions | -rw-r--r-- |
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 |
|
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 |
#require no-reposimplestore no-chg |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 |
|
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
4 |
initial setup |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 |
|
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
6 |
$ hg init server |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
7 |
$ cat >> server/.hg/hgrc << EOF |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
8 |
> [extensions] |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
9 |
> clonebundles = |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
10 |
> |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
11 |
> [clone-bundles] |
50434
65fb4cedd5ea
clone-bundles: add a configuration to control auto-generation on changes
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50433
diff
changeset
|
12 |
> auto-generate.on-change = yes |
52097
ff1872e8c0bf
tests: stabilize `test-clonebundles-autogen.t` on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
52096
diff
changeset
|
13 |
> upload-command = sh -c 'cp "\$HGCB_BUNDLE_PATH" $TESTTMP_FORWARD_SLASH/final-upload/' |
ff1872e8c0bf
tests: stabilize `test-clonebundles-autogen.t` on Windows
Matt Harbison <matt_harbison@yahoo.com>
parents:
52096
diff
changeset
|
14 |
> delete-command = sh -c 'rm -f $TESTTMP_FORWARD_SLASH/final-upload/\$HGCB_BASENAME' |
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
15 |
> url-template = file://$TESTTMP/final-upload/{basename} |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
16 |
> |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
17 |
> [devel] |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
18 |
> debug.clonebundles=yes |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
19 |
> EOF |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
20 |
|
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
21 |
$ mkdir final-upload |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
22 |
$ hg clone server client |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
23 |
updating to branch default |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
24 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
25 |
$ cd client |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
26 |
|
50736
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
27 |
Test bundles are not generated if formats are not given |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
28 |
======================================================= |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
29 |
|
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
30 |
$ touch noformats |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
31 |
$ hg -q commit -A -m 'add noformats' |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
32 |
$ hg push |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
33 |
pushing to $TESTTMP/server |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
34 |
searching for changes |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
35 |
clone-bundle auto-generate enabled, but no formats specified: disabling generation |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
36 |
adding changesets |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
37 |
adding manifests |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
38 |
adding file changes |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
39 |
added 1 changesets with 1 changes to 1 files |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
40 |
$ test -f ../server/.hg/clonebundles.manifest |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
41 |
[1] |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
42 |
$ hg debugstrip -r tip |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
43 |
0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
44 |
saved backup bundle to $TESTTMP/client/.hg/strip-backup/4823cdad4f38-4b2c3b65-backup.hg |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
45 |
$ hg --cwd ../server debugstrip -r tip |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
46 |
saved backup bundle to $TESTTMP/server/.hg/strip-backup/4823cdad4f38-4b2c3b65-backup.hg |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
47 |
clone-bundle auto-generate enabled, but no formats specified: disabling generation |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
48 |
clone-bundle auto-generate enabled, but no formats specified: disabling generation |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
49 |
|
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
50 |
Test bundles are generated on push |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
51 |
================================== |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
52 |
|
50736
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
53 |
$ cat >> ../server/.hg/hgrc << EOF |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
54 |
> [clone-bundles] |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
55 |
> auto-generate.formats = v2 |
b852c34dc2b8
clonebundles: add warning if auto-generate is enabled without formats
Mathias De Mare <mathias.de_mare@nokia.com>
parents:
50713
diff
changeset
|
56 |
> EOF |
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
57 |
$ touch foo |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
58 |
$ hg -q commit -A -m 'add foo' |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
59 |
$ touch bar |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
60 |
$ hg -q commit -A -m 'add bar' |
52095
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
61 |
|
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
62 |
Test that the HGCB_BUNDLE_BASENAME variable behaves as expected when unquoted. |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
63 |
#if no-windows |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
64 |
$ hg clone ../server '../embed-"-name/server' |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
65 |
updating to branch default |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
66 |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
67 |
$ cp ../server/.hg/hgrc '../embed-"-name/server/.hg/hgrc' |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
68 |
|
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
69 |
$ mv ../final-upload/ ../final-upload.bak/ |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
70 |
$ mkdir ../final-upload/ |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
71 |
|
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
72 |
$ hg push --config paths.default='../embed-"-name/server' |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
73 |
pushing to $TESTTMP/embed-"-name/server |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
74 |
searching for changes |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
75 |
adding changesets |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
76 |
adding manifests |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
77 |
adding file changes |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
78 |
2 changesets found |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
79 |
added 2 changesets with 2 changes to 2 files |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
80 |
clone-bundles: starting bundle generation: bzip2-v2 |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
81 |
|
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
82 |
Restore the original upload directory for windows test consistency |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
83 |
$ rm -r ../final-upload/ |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
84 |
$ mv ../final-upload.bak/ ../final-upload/ |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
85 |
#endif |
3e7b9357bbb8
tests: add coverage to for `HGCB_BUNDLE_BASENAME` with special characters
Matt Harbison <matt_harbison@yahoo.com>
parents:
50736
diff
changeset
|
86 |
|
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
87 |
$ hg push |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
88 |
pushing to $TESTTMP/server |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
89 |
searching for changes |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
90 |
adding changesets |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
91 |
adding manifests |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
92 |
adding file changes |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
93 |
2 changesets found |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
94 |
added 2 changesets with 2 changes to 2 files |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
95 |
clone-bundles: starting bundle generation: bzip2-v2 |
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
96 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
97 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-2_revs-aaff8d2ffbbf_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) |
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
98 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
99 |
full-bzip2-v2-2_revs-aaff8d2ffbbf_tip-*_txn.hg (glob) |
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
100 |
$ ls -1 ../server/.hg/tmp-bundles |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
101 |
|
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
102 |
Newer bundles are generated with more pushes |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
103 |
-------------------------------------------- |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
104 |
|
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
105 |
$ touch baz |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
106 |
$ hg -q commit -A -m 'add baz' |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
107 |
$ touch buz |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
108 |
$ hg -q commit -A -m 'add buz' |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
109 |
$ hg push |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
110 |
pushing to $TESTTMP/server |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
111 |
searching for changes |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
112 |
adding changesets |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
113 |
adding manifests |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
114 |
adding file changes |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
115 |
4 changesets found |
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
116 |
added 2 changesets with 2 changes to 2 files |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
117 |
clone-bundles: starting bundle generation: bzip2-v2 |
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
118 |
|
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
119 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
120 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) |
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
121 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
122 |
full-bzip2-v2-2_revs-aaff8d2ffbbf_tip-*_txn.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
123 |
full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg (glob) |
50430
5ae30ff79c76
clone-bundles: add a basic first version of automatic bundle generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
124 |
$ ls -1 ../server/.hg/tmp-bundles |
50431
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
125 |
|
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
126 |
Older bundles are cleaned up with more pushes |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
127 |
--------------------------------------------- |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
128 |
|
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
129 |
$ touch faz |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
130 |
$ hg -q commit -A -m 'add faz' |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
131 |
$ touch fuz |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
132 |
$ hg -q commit -A -m 'add fuz' |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
133 |
$ hg push |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
134 |
pushing to $TESTTMP/server |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
135 |
searching for changes |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
136 |
adding changesets |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
137 |
adding manifests |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
138 |
adding file changes |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
139 |
clone-bundles: deleting bundle full-bzip2-v2-2_revs-aaff8d2ffbbf_tip-*_txn.hg (glob) |
50431
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
140 |
6 changesets found |
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
141 |
added 2 changesets with 2 changes to 2 files |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
142 |
clone-bundles: starting bundle generation: bzip2-v2 |
50431
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
143 |
|
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
144 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
145 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) |
50431
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
146 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
147 |
full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
148 |
full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) |
50431
971dc2369b04
clone-bundles: garbage collect older bundle when generating new ones
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50430
diff
changeset
|
149 |
$ ls -1 ../server/.hg/tmp-bundles |
50432
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
150 |
|
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
151 |
Test conditions to get them generated |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
152 |
===================================== |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
153 |
|
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
154 |
Check ratio |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
155 |
|
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
156 |
$ cat >> ../server/.hg/hgrc << EOF |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
157 |
> [clone-bundles] |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
158 |
> trigger.below-bundled-ratio = 0.5 |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
159 |
> EOF |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
160 |
$ touch far |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
161 |
$ hg -q commit -A -m 'add far' |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
162 |
$ hg push |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
163 |
pushing to $TESTTMP/server |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
164 |
searching for changes |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
165 |
adding changesets |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
166 |
adding manifests |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
167 |
adding file changes |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
168 |
added 1 changesets with 1 changes to 1 files |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
169 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
170 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) |
50432
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
171 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
172 |
full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
173 |
full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) |
50432
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
174 |
$ ls -1 ../server/.hg/tmp-bundles |
5b70b9f5a2f9
clone-bundles: only regenerate the clone bundle when cached ration is low
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50431
diff
changeset
|
175 |
|
50433
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
176 |
Check absolute number of revisions |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
177 |
|
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
178 |
$ cat >> ../server/.hg/hgrc << EOF |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
179 |
> [clone-bundles] |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
180 |
> trigger.revs = 2 |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
181 |
> EOF |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
182 |
$ touch bur |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
183 |
$ hg -q commit -A -m 'add bur' |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
184 |
$ hg push |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
185 |
pushing to $TESTTMP/server |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
186 |
searching for changes |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
187 |
adding changesets |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
188 |
adding manifests |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
189 |
adding file changes |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
190 |
clone-bundles: deleting bundle full-bzip2-v2-4_revs-6427147b985a_tip-*_txn.hg (glob) |
50433
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
191 |
8 changesets found |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
192 |
added 1 changesets with 1 changes to 1 files |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
193 |
clone-bundles: starting bundle generation: bzip2-v2 |
50433
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
194 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
195 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) |
50433
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
196 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
197 |
full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
198 |
full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg (glob) |
50433
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
199 |
$ ls -1 ../server/.hg/tmp-bundles |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
200 |
|
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
201 |
(that one would not generate new bundles) |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
202 |
|
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
203 |
$ touch tur |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
204 |
$ hg -q commit -A -m 'add tur' |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
205 |
$ hg push |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
206 |
pushing to $TESTTMP/server |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
207 |
searching for changes |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
208 |
adding changesets |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
209 |
adding manifests |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
210 |
adding file changes |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
211 |
added 1 changesets with 1 changes to 1 files |
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
212 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
213 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg BUNDLESPEC=bzip2-v2 (glob) |
50433
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
214 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
215 |
full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
216 |
full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg (glob) |
50433
d611805e7374
clone-bundles: also control automation based on absolute number of revisions
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50432
diff
changeset
|
217 |
$ ls -1 ../server/.hg/tmp-bundles |
50435
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
218 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
219 |
Test generation through the dedicated command |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
220 |
============================================= |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
221 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
222 |
$ cat >> ../server/.hg/hgrc << EOF |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
223 |
> [clone-bundles] |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
224 |
> auto-generate.on-change = no |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
225 |
> EOF |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
226 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
227 |
Check the command can generate content when needed |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
228 |
-------------------------------------------------- |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
229 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
230 |
Do a push that makes the condition fulfilled, |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
231 |
Yet it should not automatically generate a bundle with |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
232 |
"auto-generate.on-change" not set. |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
233 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
234 |
$ touch quoi |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
235 |
$ hg -q commit -A -m 'add quoi' |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
236 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
237 |
$ pre_push_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
238 |
$ pre_push_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
239 |
$ ls -1 ../server/.hg/tmp-bundles |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
240 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
241 |
$ hg push |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
242 |
pushing to $TESTTMP/server |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
243 |
searching for changes |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
244 |
adding changesets |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
245 |
adding manifests |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
246 |
adding file changes |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
247 |
added 1 changesets with 1 changes to 1 files |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
248 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
249 |
$ post_push_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
250 |
$ post_push_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
251 |
$ ls -1 ../server/.hg/tmp-bundles |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
252 |
$ test "$pre_push_manifest" = "$post_push_manifest" |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
253 |
$ test "$pre_push_upload" = "$post_push_upload" |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
254 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
255 |
Running the command should detect the stale bundles, and do the full automatic |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
256 |
generation logic. |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
257 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
258 |
$ hg -R ../server/ admin::clone-bundles-refresh |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
259 |
clone-bundles: deleting bundle full-bzip2-v2-6_revs-b1010e95ea00_tip-*_txn.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
260 |
clone-bundles: starting bundle generation: bzip2-v2 |
50435
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
261 |
10 changesets found |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
262 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
263 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) |
50435
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
264 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
265 |
full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
266 |
full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg (glob) |
50435
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
267 |
$ ls -1 ../server/.hg/tmp-bundles |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
268 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
269 |
Check the command cleans up older bundles when possible |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
270 |
------------------------------------------------------- |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
271 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
272 |
$ hg -R ../server/ admin::clone-bundles-refresh |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
273 |
clone-bundles: deleting bundle full-bzip2-v2-8_revs-8353e8af1306_tip-*_txn.hg (glob) |
50435
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
274 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
275 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) |
50435
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
276 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
277 |
full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) |
50435
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
278 |
$ ls -1 ../server/.hg/tmp-bundles |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
279 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
280 |
Nothing is generated when the bundles are sufficiently up to date |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
281 |
----------------------------------------------------------------- |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
282 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
283 |
$ touch feur |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
284 |
$ hg -q commit -A -m 'add feur' |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
285 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
286 |
$ pre_push_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
287 |
$ pre_push_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
288 |
$ ls -1 ../server/.hg/tmp-bundles |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
289 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
290 |
$ hg push |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
291 |
pushing to $TESTTMP/server |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
292 |
searching for changes |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
293 |
adding changesets |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
294 |
adding manifests |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
295 |
adding file changes |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
296 |
added 1 changesets with 1 changes to 1 files |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
297 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
298 |
$ post_push_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
299 |
$ post_push_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
300 |
$ ls -1 ../server/.hg/tmp-bundles |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
301 |
$ test "$pre_push_manifest" = "$post_push_manifest" |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
302 |
$ test "$pre_push_upload" = "$post_push_upload" |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
303 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
304 |
$ hg -R ../server/ admin::clone-bundles-refresh |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
305 |
|
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
306 |
$ post_refresh_manifest=`cat ../server/.hg/clonebundles.manifest|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
307 |
$ post_refresh_upload=`ls -1 ../final-upload|f --sha256 | sed 's/.*=//' | cat` |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
308 |
$ ls -1 ../server/.hg/tmp-bundles |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
309 |
$ test "$pre_push_manifest" = "$post_refresh_manifest" |
23db5f15cc0c
clone-bundles: introduce a command to refresh bundle
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50434
diff
changeset
|
310 |
$ test "$pre_push_upload" = "$post_refresh_upload" |
50436
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
311 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
312 |
Test modification of configuration |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
313 |
================================== |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
314 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
315 |
Testing that later runs adapt to configuration changes even if the repository is |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
316 |
unchanged. |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
317 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
318 |
adding more formats |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
319 |
------------------- |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
320 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
321 |
bundle for added formats should be generated |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
322 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
323 |
change configuration |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
324 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
325 |
$ cat >> ../server/.hg/hgrc << EOF |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
326 |
> [clone-bundles] |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
327 |
> auto-generate.formats = v1, v2 |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
328 |
> EOF |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
329 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
330 |
refresh the bundles |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
331 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
332 |
$ hg -R ../server/ admin::clone-bundles-refresh |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
333 |
clone-bundles: starting bundle generation: bzip2-v1 |
50436
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
334 |
11 changesets found |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
335 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
336 |
the bundle for the "new" format should have been added |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
337 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
338 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
339 |
file:/*/$TESTTMP/final-upload/full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
340 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) |
50436
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
341 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
342 |
full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
343 |
full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) |
50436
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
344 |
$ ls -1 ../server/.hg/tmp-bundles |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
345 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
346 |
Changing the ratio |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
347 |
------------------ |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
348 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
349 |
Changing the ratio to something that would have triggered a bundle during the last push. |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
350 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
351 |
$ cat >> ../server/.hg/hgrc << EOF |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
352 |
> [clone-bundles] |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
353 |
> trigger.below-bundled-ratio = 0.95 |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
354 |
> EOF |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
355 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
356 |
refresh the bundles |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
357 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
358 |
$ hg -R ../server/ admin::clone-bundles-refresh |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
359 |
clone-bundles: starting bundle generation: bzip2-v2 |
50436
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
360 |
11 changesets found |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
361 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
362 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
363 |
the "outdated' bundle should be refreshed |
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
364 |
|
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
365 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
366 |
file:/*/$TESTTMP/final-upload/full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
367 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) |
50436
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
368 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
369 |
full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
370 |
full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
371 |
full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
50436
a53b8ddf8f3f
clone-bundles: add more test cases for automatic generation
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50435
diff
changeset
|
372 |
$ ls -1 ../server/.hg/tmp-bundles |
50437
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
373 |
|
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
374 |
Test more command options |
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
375 |
========================= |
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
376 |
|
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
377 |
bundle clearing |
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
378 |
--------------- |
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
379 |
|
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
380 |
$ hg -R ../server/ admin::clone-bundles-clear |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
381 |
clone-bundles: deleting bundle full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
382 |
clone-bundles: deleting bundle full-bzip2-v2-10_revs-3b6f57f17d70_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
383 |
clone-bundles: deleting bundle full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
50437
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
384 |
|
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
385 |
Nothing should remain |
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
386 |
|
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
387 |
$ cat ../server/.hg/clonebundles.manifest |
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
388 |
$ ls -1 ../final-upload |
10318b88b1d6
clone-bundles: add a command to clear all bundles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50436
diff
changeset
|
389 |
$ ls -1 ../server/.hg/tmp-bundles |
50438
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
390 |
|
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
391 |
background generation |
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
392 |
--------------------- |
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
393 |
|
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
394 |
generate bundle using background subprocess |
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
395 |
(since we are in devel mode, the command will still wait for the background |
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
396 |
process to end) |
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
397 |
|
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
398 |
$ hg -R ../server/ admin::clone-bundles-refresh --background |
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
399 |
11 changesets found |
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
400 |
11 changesets found |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
401 |
clone-bundles: starting bundle generation: bzip2-v1 |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
402 |
clone-bundles: starting bundle generation: bzip2-v2 |
50438
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
403 |
|
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
404 |
bundles should have been generated |
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
405 |
|
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
406 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
407 |
file:/*/$TESTTMP/final-upload/full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
408 |
file:/*/$TESTTMP/final-upload/full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) |
50438
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
409 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
410 |
full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
411 |
full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
50438
3973b1dc3ee3
clone-bundles: add an option to generate bundles in the background
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50437
diff
changeset
|
412 |
$ ls -1 ../server/.hg/tmp-bundles |
50710
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
413 |
|
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
414 |
Test HTTP URL |
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
415 |
========================= |
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
416 |
|
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
417 |
$ hg -R ../server/ admin::clone-bundles-clear |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
418 |
clone-bundles: deleting bundle full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
419 |
clone-bundles: deleting bundle full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
50710
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
420 |
|
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
421 |
$ cat >> ../server/.hg/hgrc << EOF |
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
422 |
> [clone-bundles] |
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
423 |
> url-template = https://example.com/final-upload/{basename} |
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
424 |
> EOF |
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
425 |
$ hg -R ../server/ admin::clone-bundles-refresh |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
426 |
clone-bundles: starting bundle generation: bzip2-v1 |
50710
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
427 |
11 changesets found |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
428 |
clone-bundles: starting bundle generation: bzip2-v2 |
50710
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
429 |
11 changesets found |
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
430 |
|
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
431 |
|
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
432 |
bundles should have been generated with the SNIREQUIRED option |
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
433 |
|
1299525832d0
clone-bundle: only add the REQUIRESNI bit for http(s)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50438
diff
changeset
|
434 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
435 |
https://example.com/final-upload/full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 REQUIRESNI=true (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
436 |
https://example.com/final-upload/full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 REQUIRESNI=true (glob) |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
437 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
438 |
Test serving them through inline-clone bundle |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
439 |
============================================= |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
440 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
441 |
$ cat >> ../server/.hg/hgrc << EOF |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
442 |
> [clone-bundles] |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
443 |
> auto-generate.serve-inline=yes |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
444 |
> EOF |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
445 |
$ hg -R ../server/ admin::clone-bundles-clear |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
446 |
clone-bundles: deleting bundle full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
447 |
clone-bundles: deleting bundle full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
448 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
449 |
initial generation |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
450 |
------------------ |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
451 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
452 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
453 |
$ hg -R ../server/ admin::clone-bundles-refresh |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
454 |
clone-bundles: starting bundle generation: bzip2-v1 |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
455 |
11 changesets found |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
456 |
clone-bundles: starting bundle generation: bzip2-v2 |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
457 |
11 changesets found |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
458 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
459 |
peer-bundle-cache://full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
460 |
peer-bundle-cache://full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
461 |
$ ls -1 ../server/.hg/bundle-cache |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
462 |
full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
463 |
full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
464 |
$ ls -1 ../final-upload |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
465 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
466 |
Regeneration eventually cleanup the old ones |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
467 |
-------------------------------------------- |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
468 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
469 |
create more content |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
470 |
$ touch voit |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
471 |
$ hg -q commit -A -m 'add voit' |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
472 |
$ touch ar |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
473 |
$ hg -q commit -A -m 'add ar' |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
474 |
$ hg push |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
475 |
pushing to $TESTTMP/server |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
476 |
searching for changes |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
477 |
adding changesets |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
478 |
adding manifests |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
479 |
adding file changes |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
480 |
added 2 changesets with 2 changes to 2 files |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
481 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
482 |
check first regeneration |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
483 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
484 |
$ hg -R ../server/ admin::clone-bundles-refresh |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
485 |
clone-bundles: starting bundle generation: bzip2-v1 |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
486 |
13 changesets found |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
487 |
clone-bundles: starting bundle generation: bzip2-v2 |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
488 |
13 changesets found |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
489 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
490 |
peer-bundle-cache://full-bzip2-v1-13_revs-8a81f9be54ea_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
491 |
peer-bundle-cache://full-bzip2-v2-13_revs-8a81f9be54ea_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
492 |
$ ls -1 ../server/.hg/bundle-cache |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
493 |
full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
494 |
full-bzip2-v1-13_revs-8a81f9be54ea_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
495 |
full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
496 |
full-bzip2-v2-13_revs-8a81f9be54ea_tip-*_acbr.hg (glob) |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
497 |
$ ls -1 ../final-upload |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
498 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
499 |
check first regeneration (should cleanup the one before that last) |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
500 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
501 |
$ touch "investi" |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
502 |
$ hg -q commit -A -m 'add investi' |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
503 |
$ touch "lesgisla" |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
504 |
$ hg -q commit -A -m 'add lesgisla' |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
505 |
$ hg push |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
506 |
pushing to $TESTTMP/server |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
507 |
searching for changes |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
508 |
adding changesets |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
509 |
adding manifests |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
510 |
adding file changes |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
511 |
added 2 changesets with 2 changes to 2 files |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
512 |
|
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
513 |
$ hg -R ../server/ admin::clone-bundles-refresh |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
514 |
clone-bundles: deleting inline bundle full-bzip2-v1-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
515 |
clone-bundles: deleting inline bundle full-bzip2-v2-11_revs-4226b1cd5fda_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
516 |
clone-bundles: starting bundle generation: bzip2-v1 |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
517 |
15 changesets found |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
518 |
clone-bundles: starting bundle generation: bzip2-v2 |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
519 |
15 changesets found |
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
520 |
$ cat ../server/.hg/clonebundles.manifest |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
521 |
peer-bundle-cache://full-bzip2-v1-15_revs-17615b3984c2_tip-*_acbr.hg BUNDLESPEC=bzip2-v1 (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
522 |
peer-bundle-cache://full-bzip2-v2-15_revs-17615b3984c2_tip-*_acbr.hg BUNDLESPEC=bzip2-v2 (glob) |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
523 |
$ ls -1 ../server/.hg/bundle-cache |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
524 |
full-bzip2-v1-13_revs-8a81f9be54ea_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
525 |
full-bzip2-v1-15_revs-17615b3984c2_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
526 |
full-bzip2-v2-13_revs-8a81f9be54ea_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
527 |
full-bzip2-v2-15_revs-17615b3984c2_tip-*_acbr.hg (glob) |
50711
40638610c6ee
clonebundles: adds a auto-generate.serve-inline option
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50710
diff
changeset
|
528 |
$ ls -1 ../final-upload |
50713
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
529 |
|
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
530 |
Check the url is correct |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
531 |
------------------------ |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
532 |
|
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
533 |
$ hg clone -U ssh://user@dummy/server ssh-inline-clone |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
534 |
applying clone bundle from peer-bundle-cache://full-bzip2-v1-15_revs-17615b3984c2_tip-*_acbr.hg (glob) |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
535 |
adding changesets |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
536 |
adding manifests |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
537 |
adding file changes |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
538 |
added 15 changesets with 15 changes to 15 files |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
539 |
finished applying clone bundle |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
540 |
searching for changes |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
541 |
no changes found |
ddc55fb220ba
clone-bundles: check we generate a valid specification
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
50711
diff
changeset
|
542 |
15 local changesets published |