##// END OF EJS Templates
dirstate-v2: fix confusion between requirement and format config variable...
Raphaël Gomès -
r49142:f3552978 stable
parent child Browse files
Show More
@@ -101,7 +101,7 b' that uses a format that was introduced l'
101 For versions that do support a format, the presence or absence of
101 For versions that do support a format, the presence or absence of
102 the corresponding requirement indicates whether to use that format.
102 the corresponding requirement indicates whether to use that format.
103
103
104 When the file contains a `exp-dirstate-v2` line,
104 When the file contains a `dirstate-v2` line,
105 the `dirstate-v2` format is used.
105 the `dirstate-v2` format is used.
106 With no such line `dirstate-v1` is used.
106 With no such line `dirstate-v1` is used.
107
107
@@ -19,7 +19,7 b" creating 'local'"
19 store created
19 store created
20 00changelog.i created
20 00changelog.i created
21 dotencode
21 dotencode
22 exp-rc-dirstate-v2 (dirstate-v2 !)
22 dirstate-v2 (dirstate-v2 !)
23 fncache
23 fncache
24 generaldelta
24 generaldelta
25 persistent-nodemap (rust !)
25 persistent-nodemap (rust !)
@@ -61,7 +61,7 b' creating repo with format.usestore=false'
61
61
62 $ hg --config format.usestore=false init old
62 $ hg --config format.usestore=false init old
63 $ checknewrepo old
63 $ checknewrepo old
64 exp-rc-dirstate-v2 (dirstate-v2 !)
64 dirstate-v2 (dirstate-v2 !)
65 generaldelta
65 generaldelta
66 persistent-nodemap (rust !)
66 persistent-nodemap (rust !)
67 revlog-compression-zstd (zstd !)
67 revlog-compression-zstd (zstd !)
@@ -75,7 +75,7 b' creating repo with format.usefncache=fal'
75 $ checknewrepo old2
75 $ checknewrepo old2
76 store created
76 store created
77 00changelog.i created
77 00changelog.i created
78 exp-rc-dirstate-v2 (dirstate-v2 !)
78 dirstate-v2 (dirstate-v2 !)
79 generaldelta
79 generaldelta
80 persistent-nodemap (rust !)
80 persistent-nodemap (rust !)
81 revlog-compression-zstd (zstd !)
81 revlog-compression-zstd (zstd !)
@@ -90,7 +90,7 b' creating repo with format.dotencode=fals'
90 $ checknewrepo old3
90 $ checknewrepo old3
91 store created
91 store created
92 00changelog.i created
92 00changelog.i created
93 exp-rc-dirstate-v2 (dirstate-v2 !)
93 dirstate-v2 (dirstate-v2 !)
94 fncache
94 fncache
95 generaldelta
95 generaldelta
96 persistent-nodemap (rust !)
96 persistent-nodemap (rust !)
@@ -107,7 +107,7 b' creating repo with format.dotencode=fals'
107 store created
107 store created
108 00changelog.i created
108 00changelog.i created
109 dotencode
109 dotencode
110 exp-rc-dirstate-v2 (dirstate-v2 !)
110 dirstate-v2 (dirstate-v2 !)
111 fncache
111 fncache
112 persistent-nodemap (rust !)
112 persistent-nodemap (rust !)
113 revlog-compression-zstd (zstd !)
113 revlog-compression-zstd (zstd !)
@@ -226,7 +226,7 b" creating 'local/sub/repo'"
226 store created
226 store created
227 00changelog.i created
227 00changelog.i created
228 dotencode
228 dotencode
229 exp-rc-dirstate-v2 (dirstate-v2 !)
229 dirstate-v2 (dirstate-v2 !)
230 fncache
230 fncache
231 generaldelta
231 generaldelta
232 persistent-nodemap (rust !)
232 persistent-nodemap (rust !)
@@ -249,7 +249,7 b' init should (for consistency with clone)'
249 store created
249 store created
250 00changelog.i created
250 00changelog.i created
251 dotencode
251 dotencode
252 exp-rc-dirstate-v2 (dirstate-v2 !)
252 dirstate-v2 (dirstate-v2 !)
253 fncache
253 fncache
254 generaldelta
254 generaldelta
255 persistent-nodemap (rust !)
255 persistent-nodemap (rust !)
@@ -268,7 +268,7 b' verify that clone also expand urls'
268 store created
268 store created
269 00changelog.i created
269 00changelog.i created
270 dotencode
270 dotencode
271 exp-rc-dirstate-v2 (dirstate-v2 !)
271 dirstate-v2 (dirstate-v2 !)
272 fncache
272 fncache
273 generaldelta
273 generaldelta
274 persistent-nodemap (rust !)
274 persistent-nodemap (rust !)
@@ -96,7 +96,7 b' Test link+rename largefile codepath'
96 "lfconvert" adds 'largefiles' to .hg/requires.
96 "lfconvert" adds 'largefiles' to .hg/requires.
97 $ cat .hg/requires
97 $ cat .hg/requires
98 dotencode
98 dotencode
99 exp-rc-dirstate-v2 (dirstate-v2 !)
99 dirstate-v2 (dirstate-v2 !)
100 fncache
100 fncache
101 generaldelta
101 generaldelta
102 largefiles
102 largefiles
@@ -290,7 +290,7 b' The requirement is added to the destinat'
290
290
291 $ cat .hg/requires
291 $ cat .hg/requires
292 dotencode
292 dotencode
293 exp-rc-dirstate-v2 (dirstate-v2 !)
293 dirstate-v2 (dirstate-v2 !)
294 fncache
294 fncache
295 generaldelta
295 generaldelta
296 lfs
296 lfs
@@ -24,7 +24,7 b' narrow clone a file, f10'
24 $ cd narrow
24 $ cd narrow
25 $ cat .hg/requires | grep -v generaldelta
25 $ cat .hg/requires | grep -v generaldelta
26 dotencode
26 dotencode
27 exp-rc-dirstate-v2 (dirstate-v2 !)
27 dirstate-v2 (dirstate-v2 !)
28 fncache
28 fncache
29 narrowhg-experimental
29 narrowhg-experimental
30 persistent-nodemap (rust !)
30 persistent-nodemap (rust !)
@@ -64,7 +64,7 b' Making sure we have the correct set of r'
64 $ cat .hg/requires
64 $ cat .hg/requires
65 dotencode (tree !)
65 dotencode (tree !)
66 dotencode (flat-fncache !)
66 dotencode (flat-fncache !)
67 exp-rc-dirstate-v2 (dirstate-v2 !)
67 dirstate-v2 (dirstate-v2 !)
68 fncache (tree !)
68 fncache (tree !)
69 fncache (flat-fncache !)
69 fncache (flat-fncache !)
70 generaldelta
70 generaldelta
@@ -40,7 +40,7 b' narrow clone a file, f10'
40 $ cd narrow
40 $ cd narrow
41 $ cat .hg/requires | grep -v generaldelta
41 $ cat .hg/requires | grep -v generaldelta
42 dotencode
42 dotencode
43 exp-rc-dirstate-v2 (dirstate-v2 !)
43 dirstate-v2 (dirstate-v2 !)
44 fncache
44 fncache
45 narrowhg-experimental
45 narrowhg-experimental
46 persistent-nodemap (rust !)
46 persistent-nodemap (rust !)
@@ -58,7 +58,7 b' XXX: we should have a flag in `hg debugs'
58
58
59 $ cat .hg/requires
59 $ cat .hg/requires
60 dotencode
60 dotencode
61 exp-rc-dirstate-v2 (dirstate-v2 !)
61 dirstate-v2 (dirstate-v2 !)
62 fncache
62 fncache
63 generaldelta
63 generaldelta
64 narrowhg-experimental
64 narrowhg-experimental
@@ -884,7 +884,7 b' Check we deny its usage on older reposit'
884 $ cd no-internal-phase
884 $ cd no-internal-phase
885 $ cat .hg/requires
885 $ cat .hg/requires
886 dotencode
886 dotencode
887 exp-rc-dirstate-v2 (dirstate-v2 !)
887 dirstate-v2 (dirstate-v2 !)
888 fncache
888 fncache
889 generaldelta
889 generaldelta
890 persistent-nodemap (rust !)
890 persistent-nodemap (rust !)
@@ -913,7 +913,7 b' Check it works fine with repository that'
913 $ cd internal-phase
913 $ cd internal-phase
914 $ cat .hg/requires
914 $ cat .hg/requires
915 dotencode
915 dotencode
916 exp-rc-dirstate-v2 (dirstate-v2 !)
916 dirstate-v2 (dirstate-v2 !)
917 fncache
917 fncache
918 generaldelta
918 generaldelta
919 internal-phase
919 internal-phase
@@ -27,7 +27,7 b''
27 $ cd shallow
27 $ cd shallow
28 $ cat .hg/requires
28 $ cat .hg/requires
29 dotencode
29 dotencode
30 exp-rc-dirstate-v2 (dirstate-v2 !)
30 dirstate-v2 (dirstate-v2 !)
31 exp-remotefilelog-repo-req-1
31 exp-remotefilelog-repo-req-1
32 fncache
32 fncache
33 generaldelta
33 generaldelta
@@ -71,7 +71,7 b''
71 $ cd shallow2
71 $ cd shallow2
72 $ cat .hg/requires
72 $ cat .hg/requires
73 dotencode
73 dotencode
74 exp-rc-dirstate-v2 (dirstate-v2 !)
74 dirstate-v2 (dirstate-v2 !)
75 exp-remotefilelog-repo-req-1
75 exp-remotefilelog-repo-req-1
76 fncache
76 fncache
77 generaldelta
77 generaldelta
@@ -115,7 +115,7 b''
115 $ ls shallow3/.hg/store/data
115 $ ls shallow3/.hg/store/data
116 $ cat shallow3/.hg/requires
116 $ cat shallow3/.hg/requires
117 dotencode
117 dotencode
118 exp-rc-dirstate-v2 (dirstate-v2 !)
118 dirstate-v2 (dirstate-v2 !)
119 exp-remotefilelog-repo-req-1
119 exp-remotefilelog-repo-req-1
120 fncache
120 fncache
121 generaldelta
121 generaldelta
@@ -24,7 +24,7 b''
24 $ cd shallow
24 $ cd shallow
25 $ cat .hg/requires
25 $ cat .hg/requires
26 dotencode
26 dotencode
27 exp-rc-dirstate-v2 (dirstate-v2 !)
27 dirstate-v2 (dirstate-v2 !)
28 exp-remotefilelog-repo-req-1
28 exp-remotefilelog-repo-req-1
29 fncache
29 fncache
30 generaldelta
30 generaldelta
@@ -61,7 +61,7 b''
61 $ cd shallow2
61 $ cd shallow2
62 $ cat .hg/requires
62 $ cat .hg/requires
63 dotencode
63 dotencode
64 exp-rc-dirstate-v2 (dirstate-v2 !)
64 dirstate-v2 (dirstate-v2 !)
65 exp-remotefilelog-repo-req-1
65 exp-remotefilelog-repo-req-1
66 fncache
66 fncache
67 generaldelta
67 generaldelta
@@ -113,7 +113,7 b' check its contents separately.'
113 $ ls shallow3/.hg/store/data
113 $ ls shallow3/.hg/store/data
114 $ cat shallow3/.hg/requires
114 $ cat shallow3/.hg/requires
115 dotencode
115 dotencode
116 exp-rc-dirstate-v2 (dirstate-v2 !)
116 dirstate-v2 (dirstate-v2 !)
117 exp-remotefilelog-repo-req-1
117 exp-remotefilelog-repo-req-1
118 fncache
118 fncache
119 generaldelta
119 generaldelta
@@ -27,7 +27,7 b' Shallow clone from full'
27 $ cd shallow
27 $ cd shallow
28 $ cat .hg/requires
28 $ cat .hg/requires
29 dotencode
29 dotencode
30 exp-rc-dirstate-v2 (dirstate-v2 !)
30 dirstate-v2 (dirstate-v2 !)
31 exp-remotefilelog-repo-req-1
31 exp-remotefilelog-repo-req-1
32 fncache
32 fncache
33 generaldelta
33 generaldelta
@@ -11,7 +11,7 b' A new repository uses zlib storage, whic'
11 $ cd default
11 $ cd default
12 $ cat .hg/requires
12 $ cat .hg/requires
13 dotencode
13 dotencode
14 exp-rc-dirstate-v2 (dirstate-v2 !)
14 dirstate-v2 (dirstate-v2 !)
15 fncache
15 fncache
16 generaldelta
16 generaldelta
17 persistent-nodemap (rust !)
17 persistent-nodemap (rust !)
@@ -61,7 +61,7 b' with that engine or a requirement'
61
61
62 $ cat .hg/requires
62 $ cat .hg/requires
63 dotencode
63 dotencode
64 exp-rc-dirstate-v2 (dirstate-v2 !)
64 dirstate-v2 (dirstate-v2 !)
65 fncache
65 fncache
66 generaldelta
66 generaldelta
67 persistent-nodemap (rust !)
67 persistent-nodemap (rust !)
@@ -81,7 +81,7 b' with that engine or a requirement'
81 $ cd zstd
81 $ cd zstd
82 $ cat .hg/requires
82 $ cat .hg/requires
83 dotencode
83 dotencode
84 exp-rc-dirstate-v2 (dirstate-v2 !)
84 dirstate-v2 (dirstate-v2 !)
85 fncache
85 fncache
86 generaldelta
86 generaldelta
87 persistent-nodemap (rust !)
87 persistent-nodemap (rust !)
@@ -186,7 +186,7 b' checking details of none compression'
186 $ cat none-compression/.hg/requires
186 $ cat none-compression/.hg/requires
187 dotencode
187 dotencode
188 exp-compression-none
188 exp-compression-none
189 exp-rc-dirstate-v2 (dirstate-v2 !)
189 dirstate-v2 (dirstate-v2 !)
190 fncache
190 fncache
191 generaldelta
191 generaldelta
192 persistent-nodemap (rust !)
192 persistent-nodemap (rust !)
@@ -50,7 +50,7 b' another repository of push/pull/clone on'
50 > EOF
50 > EOF
51 $ hg -R supported debugrequirements
51 $ hg -R supported debugrequirements
52 dotencode
52 dotencode
53 exp-rc-dirstate-v2 (dirstate-v2 !)
53 dirstate-v2 (dirstate-v2 !)
54 featuresetup-test
54 featuresetup-test
55 fncache
55 fncache
56 generaldelta
56 generaldelta
@@ -22,7 +22,7 b' Can create and open repo with revlog v2 '
22 $ cd new-repo
22 $ cd new-repo
23 $ cat .hg/requires
23 $ cat .hg/requires
24 dotencode
24 dotencode
25 exp-rc-dirstate-v2 (dirstate-v2 !)
25 dirstate-v2 (dirstate-v2 !)
26 exp-revlogv2.2
26 exp-revlogv2.2
27 fncache
27 fncache
28 generaldelta
28 generaldelta
@@ -19,7 +19,7 b' prepare source repo'
19 $ hg init source
19 $ hg init source
20 $ cd source
20 $ cd source
21 $ cat .hg/requires
21 $ cat .hg/requires
22 exp-rc-dirstate-v2 (dirstate-v2 !)
22 dirstate-v2 (dirstate-v2 !)
23 share-safe
23 share-safe
24 $ cat .hg/store/requires
24 $ cat .hg/store/requires
25 dotencode
25 dotencode
@@ -30,7 +30,7 b' prepare source repo'
30 store
30 store
31 $ hg debugrequirements
31 $ hg debugrequirements
32 dotencode
32 dotencode
33 exp-rc-dirstate-v2 (dirstate-v2 !)
33 dirstate-v2 (dirstate-v2 !)
34 fncache
34 fncache
35 generaldelta
35 generaldelta
36 revlogv1
36 revlogv1
@@ -54,13 +54,13 b' Create a shared repo and check the requi'
54 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
54 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
55 $ cd shared1
55 $ cd shared1
56 $ cat .hg/requires
56 $ cat .hg/requires
57 exp-rc-dirstate-v2 (dirstate-v2 !)
57 dirstate-v2 (dirstate-v2 !)
58 share-safe
58 share-safe
59 shared
59 shared
60
60
61 $ hg debugrequirements -R ../source
61 $ hg debugrequirements -R ../source
62 dotencode
62 dotencode
63 exp-rc-dirstate-v2 (dirstate-v2 !)
63 dirstate-v2 (dirstate-v2 !)
64 fncache
64 fncache
65 generaldelta
65 generaldelta
66 revlogv1
66 revlogv1
@@ -70,7 +70,7 b' Create a shared repo and check the requi'
70
70
71 $ hg debugrequirements
71 $ hg debugrequirements
72 dotencode
72 dotencode
73 exp-rc-dirstate-v2 (dirstate-v2 !)
73 dirstate-v2 (dirstate-v2 !)
74 fncache
74 fncache
75 generaldelta
75 generaldelta
76 revlogv1
76 revlogv1
@@ -327,7 +327,7 b' Test that upgrading using debugupgradere'
327 $ cd non-share-safe
327 $ cd non-share-safe
328 $ hg debugrequirements
328 $ hg debugrequirements
329 dotencode
329 dotencode
330 exp-rc-dirstate-v2 (dirstate-v2 !)
330 dirstate-v2 (dirstate-v2 !)
331 fncache
331 fncache
332 generaldelta
332 generaldelta
333 revlogv1
333 revlogv1
@@ -346,7 +346,7 b' Create a share before upgrading'
346 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
346 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
347 $ hg debugrequirements -R nss-share
347 $ hg debugrequirements -R nss-share
348 dotencode
348 dotencode
349 exp-rc-dirstate-v2 (dirstate-v2 !)
349 dirstate-v2 (dirstate-v2 !)
350 fncache
350 fncache
351 generaldelta
351 generaldelta
352 revlogv1
352 revlogv1
@@ -394,7 +394,7 b' Upgrade'
394
394
395 $ hg debugrequirements
395 $ hg debugrequirements
396 dotencode
396 dotencode
397 exp-rc-dirstate-v2 (dirstate-v2 !)
397 dirstate-v2 (dirstate-v2 !)
398 fncache
398 fncache
399 generaldelta
399 generaldelta
400 revlogv1
400 revlogv1
@@ -403,7 +403,7 b' Upgrade'
403 store
403 store
404
404
405 $ cat .hg/requires
405 $ cat .hg/requires
406 exp-rc-dirstate-v2 (dirstate-v2 !)
406 dirstate-v2 (dirstate-v2 !)
407 share-safe
407 share-safe
408
408
409 $ cat .hg/store/requires
409 $ cat .hg/store/requires
@@ -485,7 +485,7 b' Test that downgrading works too'
485
485
486 $ hg debugrequirements
486 $ hg debugrequirements
487 dotencode
487 dotencode
488 exp-rc-dirstate-v2 (dirstate-v2 !)
488 dirstate-v2 (dirstate-v2 !)
489 fncache
489 fncache
490 generaldelta
490 generaldelta
491 revlogv1
491 revlogv1
@@ -494,7 +494,7 b' Test that downgrading works too'
494
494
495 $ cat .hg/requires
495 $ cat .hg/requires
496 dotencode
496 dotencode
497 exp-rc-dirstate-v2 (dirstate-v2 !)
497 dirstate-v2 (dirstate-v2 !)
498 fncache
498 fncache
499 generaldelta
499 generaldelta
500 revlogv1
500 revlogv1
@@ -564,7 +564,7 b' Testing automatic upgrade of shares when'
564 repository upgraded to share safe mode, existing shares will still work in old non-safe mode. Re-share existing shares to use them in safe mode New shares will be created in safe mode.
564 repository upgraded to share safe mode, existing shares will still work in old non-safe mode. Re-share existing shares to use them in safe mode New shares will be created in safe mode.
565 $ hg debugrequirements
565 $ hg debugrequirements
566 dotencode
566 dotencode
567 exp-rc-dirstate-v2 (dirstate-v2 !)
567 dirstate-v2 (dirstate-v2 !)
568 fncache
568 fncache
569 generaldelta
569 generaldelta
570 revlogv1
570 revlogv1
@@ -18,7 +18,7 b' Enable sparse profile'
18
18
19 $ cat .hg/requires
19 $ cat .hg/requires
20 dotencode
20 dotencode
21 exp-rc-dirstate-v2 (dirstate-v2 !)
21 dirstate-v2 (dirstate-v2 !)
22 fncache
22 fncache
23 generaldelta
23 generaldelta
24 persistent-nodemap (rust !)
24 persistent-nodemap (rust !)
@@ -38,7 +38,7 b' Requirement for sparse added when sparse'
38
38
39 $ cat .hg/requires
39 $ cat .hg/requires
40 dotencode
40 dotencode
41 exp-rc-dirstate-v2 (dirstate-v2 !)
41 dirstate-v2 (dirstate-v2 !)
42 exp-sparse
42 exp-sparse
43 fncache
43 fncache
44 generaldelta
44 generaldelta
@@ -61,7 +61,7 b' Requirement for sparse is removed when s'
61
61
62 $ cat .hg/requires
62 $ cat .hg/requires
63 dotencode
63 dotencode
64 exp-rc-dirstate-v2 (dirstate-v2 !)
64 dirstate-v2 (dirstate-v2 !)
65 fncache
65 fncache
66 generaldelta
66 generaldelta
67 persistent-nodemap (rust !)
67 persistent-nodemap (rust !)
@@ -15,7 +15,7 b' New repo should not use SQLite by defaul'
15 $ hg init empty-no-sqlite
15 $ hg init empty-no-sqlite
16 $ cat empty-no-sqlite/.hg/requires
16 $ cat empty-no-sqlite/.hg/requires
17 dotencode
17 dotencode
18 exp-rc-dirstate-v2 (dirstate-v2 !)
18 dirstate-v2 (dirstate-v2 !)
19 fncache
19 fncache
20 generaldelta
20 generaldelta
21 persistent-nodemap (rust !)
21 persistent-nodemap (rust !)
@@ -29,7 +29,7 b' storage.new-repo-backend=sqlite is recog'
29 $ hg --config storage.new-repo-backend=sqlite init empty-sqlite
29 $ hg --config storage.new-repo-backend=sqlite init empty-sqlite
30 $ cat empty-sqlite/.hg/requires
30 $ cat empty-sqlite/.hg/requires
31 dotencode
31 dotencode
32 exp-rc-dirstate-v2 (dirstate-v2 !)
32 dirstate-v2 (dirstate-v2 !)
33 exp-sqlite-001
33 exp-sqlite-001
34 exp-sqlite-comp-001=zstd (zstd !)
34 exp-sqlite-comp-001=zstd (zstd !)
35 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ (no-zstd !)
35 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ (no-zstd !)
@@ -51,7 +51,7 b' Can force compression to zlib'
51 $ hg --config storage.sqlite.compression=zlib init empty-zlib
51 $ hg --config storage.sqlite.compression=zlib init empty-zlib
52 $ cat empty-zlib/.hg/requires
52 $ cat empty-zlib/.hg/requires
53 dotencode
53 dotencode
54 exp-rc-dirstate-v2 (dirstate-v2 !)
54 dirstate-v2 (dirstate-v2 !)
55 exp-sqlite-001
55 exp-sqlite-001
56 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$
56 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$
57 fncache
57 fncache
@@ -67,7 +67,7 b' Can force compression to none'
67 $ hg --config storage.sqlite.compression=none init empty-none
67 $ hg --config storage.sqlite.compression=none init empty-none
68 $ cat empty-none/.hg/requires
68 $ cat empty-none/.hg/requires
69 dotencode
69 dotencode
70 exp-rc-dirstate-v2 (dirstate-v2 !)
70 dirstate-v2 (dirstate-v2 !)
71 exp-sqlite-001
71 exp-sqlite-001
72 exp-sqlite-comp-001=none
72 exp-sqlite-comp-001=none
73 fncache
73 fncache
General Comments 0
You need to be logged in to leave comments. Login now