Show More
@@ -9,7 +9,7 b' This test tries to exercise the ssh func' | |||
|
9 | 9 | > if [ -f "$name"/.hg/00changelog.i ]; then |
|
10 | 10 | > echo 00changelog.i created |
|
11 | 11 | > fi |
|
12 | > cat "$name"/.hg/requires | |
|
12 | > hg debugrequires -R "$name" | |
|
13 | 13 | > } |
|
14 | 14 | |
|
15 | 15 | creating 'local' |
@@ -94,7 +94,7 b' Test link+rename largefile codepath' | |||
|
94 | 94 | 1276481102f218c981e0324180bafd9f sub/maybelarge.dat |
|
95 | 95 | |
|
96 | 96 | "lfconvert" adds 'largefiles' to .hg/requires. |
|
97 |
$ |
|
|
97 | $ hg debugrequires | |
|
98 | 98 | dotencode |
|
99 | 99 | dirstate-v2 (dirstate-v2 !) |
|
100 | 100 | fncache |
@@ -288,7 +288,7 b' parameters are available, but not --auth' | |||
|
288 | 288 | |
|
289 | 289 | The requirement is added to the destination repo. |
|
290 | 290 | |
|
291 |
$ |
|
|
291 | $ hg debugrequires | |
|
292 | 292 | dotencode |
|
293 | 293 | dirstate-v2 (dirstate-v2 !) |
|
294 | 294 | fncache |
@@ -34,7 +34,7 b' The clone directory should only contain ' | |||
|
34 | 34 | f2 |
|
35 | 35 | |
|
36 | 36 | Requirements should contain narrowhg |
|
37 |
$ |
|
|
37 | $ hg debugrequires -R narrowclone1 | grep narrowhg | |
|
38 | 38 | narrowhg-experimental |
|
39 | 39 | |
|
40 | 40 | NarrowHG should track f1 and f2 |
@@ -22,7 +22,7 b' narrow clone a file, f10' | |||
|
22 | 22 | added 40 changesets with 1 changes to 1 files |
|
23 | 23 | new changesets *:* (glob) |
|
24 | 24 | $ cd narrow |
|
25 |
$ |
|
|
25 | $ hg debugrequires | grep -v generaldelta | |
|
26 | 26 | dotencode |
|
27 | 27 | dirstate-v2 (dirstate-v2 !) |
|
28 | 28 | fncache |
@@ -61,7 +61,7 b' Cloning a specific file when stream clon' | |||
|
61 | 61 | |
|
62 | 62 | Making sure we have the correct set of requirements |
|
63 | 63 | |
|
64 |
$ |
|
|
64 | $ hg debugrequires | |
|
65 | 65 | dotencode (tree !) |
|
66 | 66 | dotencode (flat-fncache !) |
|
67 | 67 | dirstate-v2 (dirstate-v2 !) |
@@ -38,7 +38,7 b' narrow clone a file, f10' | |||
|
38 | 38 | added 3 changesets with 1 changes to 1 files |
|
39 | 39 | new changesets *:* (glob) |
|
40 | 40 | $ cd narrow |
|
41 |
$ |
|
|
41 | $ hg debugrequires | grep -v generaldelta | |
|
42 | 42 | dotencode |
|
43 | 43 | dirstate-v2 (dirstate-v2 !) |
|
44 | 44 | fncache |
@@ -56,7 +56,7 b' XXX: we should have a flag in `hg debugs' | |||
|
56 | 56 | $ test -f .hg/sparse |
|
57 | 57 | [1] |
|
58 | 58 | |
|
59 |
$ |
|
|
59 | $ hg debugrequires | |
|
60 | 60 | dotencode |
|
61 | 61 | dirstate-v2 (dirstate-v2 !) |
|
62 | 62 | fncache |
@@ -25,7 +25,7 b'' | |||
|
25 | 25 | searching for changes |
|
26 | 26 | no changes found |
|
27 | 27 | $ cd shallow |
|
28 |
$ |
|
|
28 | $ hg debugrequires | |
|
29 | 29 | dotencode |
|
30 | 30 | dirstate-v2 (dirstate-v2 !) |
|
31 | 31 | exp-remotefilelog-repo-req-1 |
@@ -69,7 +69,7 b'' | |||
|
69 | 69 | searching for changes |
|
70 | 70 | no changes found |
|
71 | 71 | $ cd shallow2 |
|
72 |
$ |
|
|
72 | $ hg debugrequires | |
|
73 | 73 | dotencode |
|
74 | 74 | dirstate-v2 (dirstate-v2 !) |
|
75 | 75 | exp-remotefilelog-repo-req-1 |
@@ -113,7 +113,7 b'' | |||
|
113 | 113 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
114 | 114 | |
|
115 | 115 | $ ls shallow3/.hg/store/data |
|
116 | $ cat shallow3/.hg/requires | |
|
116 | $ hg debugrequires -R shallow3/ | |
|
117 | 117 | dotencode |
|
118 | 118 | dirstate-v2 (dirstate-v2 !) |
|
119 | 119 | exp-remotefilelog-repo-req-1 |
@@ -22,7 +22,7 b'' | |||
|
22 | 22 | searching for changes |
|
23 | 23 | no changes found |
|
24 | 24 | $ cd shallow |
|
25 |
$ |
|
|
25 | $ hg debugrequires | |
|
26 | 26 | dotencode |
|
27 | 27 | dirstate-v2 (dirstate-v2 !) |
|
28 | 28 | exp-remotefilelog-repo-req-1 |
@@ -59,7 +59,7 b'' | |||
|
59 | 59 | searching for changes |
|
60 | 60 | no changes found |
|
61 | 61 | $ cd shallow2 |
|
62 |
$ |
|
|
62 | $ hg debugrequires | |
|
63 | 63 | dotencode |
|
64 | 64 | dirstate-v2 (dirstate-v2 !) |
|
65 | 65 | exp-remotefilelog-repo-req-1 |
@@ -111,7 +111,7 b' check its contents separately.' | |||
|
111 | 111 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
112 | 112 | |
|
113 | 113 | $ ls shallow3/.hg/store/data |
|
114 | $ cat shallow3/.hg/requires | |
|
114 | $ hg debugrequires -R shallow3/ | |
|
115 | 115 | dotencode |
|
116 | 116 | dirstate-v2 (dirstate-v2 !) |
|
117 | 117 | exp-remotefilelog-repo-req-1 |
@@ -25,7 +25,7 b' Shallow clone from full' | |||
|
25 | 25 | searching for changes |
|
26 | 26 | no changes found |
|
27 | 27 | $ cd shallow |
|
28 |
$ |
|
|
28 | $ hg debugrequires | |
|
29 | 29 | dotencode |
|
30 | 30 | dirstate-v2 (dirstate-v2 !) |
|
31 | 31 | exp-remotefilelog-repo-req-1 |
@@ -9,7 +9,7 b' A new repository uses zlib storage, whic' | |||
|
9 | 9 | |
|
10 | 10 | $ hg init default |
|
11 | 11 | $ cd default |
|
12 |
$ |
|
|
12 | $ hg debugrequires | |
|
13 | 13 | dotencode |
|
14 | 14 | dirstate-v2 (dirstate-v2 !) |
|
15 | 15 | fncache |
@@ -59,7 +59,7 b' with that engine or a requirement' | |||
|
59 | 59 | $ touch bar |
|
60 | 60 | $ hg --config format.revlog-compression=none -q commit -A -m 'add bar with a lot of repeated repeated repeated text' |
|
61 | 61 | |
|
62 |
$ |
|
|
62 | $ hg debugrequires | |
|
63 | 63 | dotencode |
|
64 | 64 | dirstate-v2 (dirstate-v2 !) |
|
65 | 65 | fncache |
@@ -79,7 +79,7 b' with that engine or a requirement' | |||
|
79 | 79 | |
|
80 | 80 | $ hg --config format.revlog-compression=zstd init zstd |
|
81 | 81 | $ cd zstd |
|
82 |
$ |
|
|
82 | $ hg debugrequires | |
|
83 | 83 | dotencode |
|
84 | 84 | dirstate-v2 (dirstate-v2 !) |
|
85 | 85 | fncache |
@@ -183,7 +183,7 b' checking details of none compression' | |||
|
183 | 183 | summary: some-commit |
|
184 | 184 | |
|
185 | 185 | |
|
186 | $ cat none-compression/.hg/requires | |
|
186 | $ hg debugrequires -R none-compression/ | |
|
187 | 187 | dotencode |
|
188 | 188 | exp-compression-none |
|
189 | 189 | dirstate-v2 (dirstate-v2 !) |
@@ -20,7 +20,7 b' Can create and open repo with revlog v2 ' | |||
|
20 | 20 | |
|
21 | 21 | $ hg init new-repo |
|
22 | 22 | $ cd new-repo |
|
23 |
$ |
|
|
23 | $ hg debugrequires | |
|
24 | 24 | dotencode |
|
25 | 25 | dirstate-v2 (dirstate-v2 !) |
|
26 | 26 | exp-revlogv2.2 |
@@ -161,7 +161,7 b' Cloning a shared repo via bundle2 result' | |||
|
161 | 161 | |
|
162 | 162 | $ cd .. |
|
163 | 163 | $ hg clone -q --stream ssh://user@dummy/`pwd`/repo2 cloned-via-bundle2 |
|
164 |
$ |
|
|
164 | $ hg -R cloned-via-bundle2 debugrequires | grep "shared" | |
|
165 | 165 | [1] |
|
166 | 166 | $ hg id --cwd cloned-via-bundle2 -r tip |
|
167 | 167 | c2e0ac586386 tip |
@@ -16,7 +16,7 b'' | |||
|
16 | 16 | |
|
17 | 17 | Enable sparse profile |
|
18 | 18 | |
|
19 |
$ |
|
|
19 | $ hg debugrequires | |
|
20 | 20 | dotencode |
|
21 | 21 | dirstate-v2 (dirstate-v2 !) |
|
22 | 22 | fncache |
@@ -36,7 +36,7 b' Enable sparse profile' | |||
|
36 | 36 | |
|
37 | 37 | Requirement for sparse added when sparse is enabled |
|
38 | 38 | |
|
39 | $ cat .hg/requires | |
|
39 | $ hg debugrequires --config extensions.sparse= | |
|
40 | 40 | dotencode |
|
41 | 41 | dirstate-v2 (dirstate-v2 !) |
|
42 | 42 | exp-sparse |
@@ -59,7 +59,7 b' Requirement for sparse is removed when s' | |||
|
59 | 59 | |
|
60 | 60 | $ hg debugsparse --reset --config extensions.sparse= |
|
61 | 61 | |
|
62 |
$ |
|
|
62 | $ hg debugrequires | |
|
63 | 63 | dotencode |
|
64 | 64 | dirstate-v2 (dirstate-v2 !) |
|
65 | 65 | fncache |
@@ -13,7 +13,7 b' the instability.' | |||
|
13 | 13 | New repo should not use SQLite by default |
|
14 | 14 | |
|
15 | 15 | $ hg init empty-no-sqlite |
|
16 | $ cat empty-no-sqlite/.hg/requires | |
|
16 | $ hg debugrequires -R empty-no-sqlite | |
|
17 | 17 | dotencode |
|
18 | 18 | dirstate-v2 (dirstate-v2 !) |
|
19 | 19 | fncache |
@@ -27,7 +27,7 b' New repo should not use SQLite by defaul' | |||
|
27 | 27 | storage.new-repo-backend=sqlite is recognized |
|
28 | 28 | |
|
29 | 29 | $ hg --config storage.new-repo-backend=sqlite init empty-sqlite |
|
30 | $ cat empty-sqlite/.hg/requires | |
|
30 | $ hg debugrequires -R empty-sqlite | |
|
31 | 31 | dotencode |
|
32 | 32 | dirstate-v2 (dirstate-v2 !) |
|
33 | 33 | exp-sqlite-001 |
@@ -49,7 +49,7 b' storage.new-repo-backend=sqlite is recog' | |||
|
49 | 49 | Can force compression to zlib |
|
50 | 50 | |
|
51 | 51 | $ hg --config storage.sqlite.compression=zlib init empty-zlib |
|
52 | $ cat empty-zlib/.hg/requires | |
|
52 | $ hg debugrequires -R empty-zlib | |
|
53 | 53 | dotencode |
|
54 | 54 | dirstate-v2 (dirstate-v2 !) |
|
55 | 55 | exp-sqlite-001 |
@@ -65,7 +65,7 b' Can force compression to zlib' | |||
|
65 | 65 | Can force compression to none |
|
66 | 66 | |
|
67 | 67 | $ hg --config storage.sqlite.compression=none init empty-none |
|
68 | $ cat empty-none/.hg/requires | |
|
68 | $ hg debugrequires -R empty-none | |
|
69 | 69 | dotencode |
|
70 | 70 | dirstate-v2 (dirstate-v2 !) |
|
71 | 71 | exp-sqlite-001 |
@@ -5,7 +5,7 b' Set up repo' | |||
|
5 | 5 | |
|
6 | 6 | Requirements get set on init |
|
7 | 7 | |
|
8 | $ grep treemanifest .hg/requires | |
|
8 | $ hg debugrequires | grep treemanifest | |
|
9 | 9 | treemanifest |
|
10 | 10 | |
|
11 | 11 | Without directories, looks like any other repo |
@@ -229,7 +229,7 b' Create clone with tree manifests enabled' | |||
|
229 | 229 | $ cd repo-mixed |
|
230 | 230 | $ test -d .hg/store/meta |
|
231 | 231 | [1] |
|
232 | $ grep treemanifest .hg/requires | |
|
232 | $ hg debugrequires | grep treemanifest | |
|
233 | 233 | treemanifest |
|
234 | 234 | |
|
235 | 235 | Should be possible to push updates from flat to tree manifest repo |
@@ -373,7 +373,7 b' Pushing from treemanifest repo to an emp' | |||
|
373 | 373 | > [experimental] |
|
374 | 374 | > changegroup3=yes |
|
375 | 375 | > EOF |
|
376 | $ grep treemanifest empty-repo/.hg/requires | |
|
376 | $ hg debugrequires -R empty-repo | grep treemanifest | |
|
377 | 377 | [1] |
|
378 | 378 | $ hg push -R repo -r 0 empty-repo |
|
379 | 379 | pushing to empty-repo |
@@ -382,13 +382,13 b' Pushing from treemanifest repo to an emp' | |||
|
382 | 382 | adding manifests |
|
383 | 383 | adding file changes |
|
384 | 384 | added 1 changesets with 2 changes to 2 files |
|
385 | $ grep treemanifest empty-repo/.hg/requires | |
|
385 | $ hg debugrequires -R empty-repo | grep treemanifest | |
|
386 | 386 | treemanifest |
|
387 | 387 | |
|
388 | 388 | Pushing to an empty repo works |
|
389 | 389 | |
|
390 | 390 | $ hg --config experimental.treemanifest=1 init clone |
|
391 | $ grep treemanifest clone/.hg/requires | |
|
391 | $ hg debugrequires -R clone | grep treemanifest | |
|
392 | 392 | treemanifest |
|
393 | 393 | $ hg push -R repo clone |
|
394 | 394 | pushing to clone |
@@ -397,7 +397,7 b' Pushing to an empty repo works' | |||
|
397 | 397 | adding manifests |
|
398 | 398 | adding file changes |
|
399 | 399 | added 11 changesets with 15 changes to 10 files (+3 heads) |
|
400 | $ grep treemanifest clone/.hg/requires | |
|
400 | $ hg debugrequires -R clone | grep treemanifest | |
|
401 | 401 | treemanifest |
|
402 | 402 | $ hg -R clone verify |
|
403 | 403 | checking changesets |
@@ -682,7 +682,7 b' We can clone even with the knob turned o' | |||
|
682 | 682 | No server errors. |
|
683 | 683 | $ cat deeprepo/errors.log |
|
684 | 684 | requires got updated to include treemanifest |
|
685 |
$ |
|
|
685 | $ hg debugrequires -R deepclone | grep treemanifest | |
|
686 | 686 | treemanifest |
|
687 | 687 | Tree manifest revlogs exist. |
|
688 | 688 | $ find deepclone/.hg/store/meta | sort |
@@ -730,7 +730,7 b' Create clones using old repo formats to ' | |||
|
730 | 730 | updating to branch default |
|
731 | 731 | 8 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
732 | 732 | $ cd deeprepo-basicstore |
|
733 | $ grep store .hg/requires | |
|
733 | $ hg debugrequires | grep store | |
|
734 | 734 | [1] |
|
735 | 735 | $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --errorlog=errors.log |
|
736 | 736 | $ cat hg.pid >> $DAEMON_PIDS |
@@ -747,7 +747,7 b' Create clones using old repo formats to ' | |||
|
747 | 747 | updating to branch default |
|
748 | 748 | 8 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
749 | 749 | $ cd deeprepo-encodedstore |
|
750 | $ grep fncache .hg/requires | |
|
750 | $ hg debugrequires | grep fncache | |
|
751 | 751 | [1] |
|
752 | 752 | $ hg serve -p $HGPORT2 -d --pid-file=hg.pid --errorlog=errors.log |
|
753 | 753 | $ cat hg.pid >> $DAEMON_PIDS |
General Comments 0
You need to be logged in to leave comments.
Login now