Show More
@@ -107,7 +107,6 b' check-pytype:' | |||
|
107 | 107 | # that satisfies the various shebang lines and delegates to `py -3`. |
|
108 | 108 | .window_runtests_template: &windows_runtests |
|
109 | 109 | <<: *all |
|
110 | when: manual # we don't have any Windows runners anymore at the moment | |
|
111 | 110 | stage: tests |
|
112 | 111 | before_script: |
|
113 | 112 | - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.* > C:/Temp/check-tests.txt' |
@@ -25,6 +25,12 b'' | |||
|
25 | 25 | #define PyInt_FromLong PyLong_FromLong |
|
26 | 26 | #define PyInt_FromSsize_t PyLong_FromSsize_t |
|
27 | 27 | #define PyInt_AsLong PyLong_AsLong |
|
28 | #else | |
|
29 | /* Windows on Python 2.7 doesn't define S_IFLNK. Python 3+ defines via | |
|
30 | * pyport.h. */ | |
|
31 | #ifndef S_IFLNK | |
|
32 | #define S_IFLNK 0120000 | |
|
33 | #endif | |
|
28 | 34 | #endif |
|
29 | 35 | |
|
30 | 36 | static const char *const versionerrortext = "Python minor version mismatch"; |
@@ -12,7 +12,7 b' It is made of a flat sequence of unorder' | |||
|
12 | 12 | so accessing any information in it requires parsing all of it. |
|
13 | 13 | Similarly, saving changes requires rewriting the entire file. |
|
14 | 14 | |
|
15 | The newer `dirsate-v2` file format is designed to fix these limitations | |
|
15 | The newer `dirstate-v2` file format is designed to fix these limitations | |
|
16 | 16 | and make `hg status` faster. |
|
17 | 17 | |
|
18 | 18 | User guide |
@@ -33,18 +33,18 b' Since the dirstate is entirely local and' | |||
|
33 | 33 | When `share-safe` is enabled, different repositories sharing the same store |
|
34 | 34 | can use different dirstate formats. |
|
35 | 35 | |
|
36 | Enabling `dirsate-v2` for new local repositories | |
|
36 | Enabling `dirstate-v2` for new local repositories | |
|
37 | 37 | ------------------------------------------------ |
|
38 | 38 | |
|
39 | 39 | When creating a new local repository such as with `hg init` or `hg clone`, |
|
40 | the `exp-dirstate-v2` boolean in the `format` configuration section | |
|
40 | the `exp-rc-dirstate-v2` boolean in the `format` configuration section | |
|
41 | 41 | controls whether to use this file format. |
|
42 | 42 | This is disabled by default as of this writing. |
|
43 | 43 | To enable it for a single repository, run for example:: |
|
44 | 44 | |
|
45 | $ hg init my-project --config format.exp-dirstate-v2=1 | |
|
45 | $ hg init my-project --config format.exp-rc-dirstate-v2=1 | |
|
46 | 46 | |
|
47 | Checking the format of an existing local repsitory | |
|
47 | Checking the format of an existing local repository | |
|
48 | 48 | -------------------------------------------------- |
|
49 | 49 | |
|
50 | 50 | The `debugformat` commands prints information about |
@@ -63,15 +63,15 b' Upgrading or downgrading an existing loc' | |||
|
63 | 63 | The `debugupgrade` command does various upgrades or downgrades |
|
64 | 64 | on a local repository |
|
65 | 65 | based on the current Mercurial version and on configuration. |
|
66 | The same `format.exp-dirstate-v2` configuration is used again. | |
|
66 | The same `format.exp-rc-dirstate-v2` configuration is used again. | |
|
67 | 67 | |
|
68 | 68 | Example to upgrade:: |
|
69 | 69 | |
|
70 | $ hg debugupgrade --config format.exp-dirstate-v2=1 | |
|
70 | $ hg debugupgrade --config format.exp-rc-dirstate-v2=1 | |
|
71 | 71 | |
|
72 | 72 | Example to downgrade to `dirstate-v1`:: |
|
73 | 73 | |
|
74 | $ hg debugupgrade --config format.exp-dirstate-v2=0 | |
|
74 | $ hg debugupgrade --config format.exp-rc-dirstate-v2=0 | |
|
75 | 75 | |
|
76 | 76 | Both of this commands do nothing but print a list of proposed changes, |
|
77 | 77 | which may include changes unrelated to the dirstate. |
@@ -96,19 +96,19 b' Requirements file' | |||
|
96 | 96 | The `.hg/requires` file indicates which of various optional file formats |
|
97 | 97 | are used by a given repository. |
|
98 | 98 | Mercurial aborts when seeing a requirement it does not know about, |
|
99 |
which avoids older version accidentally messing up a re |
|
|
99 | which avoids older version accidentally messing up a repository | |
|
100 | 100 | that uses a format that was introduced later. |
|
101 | 101 | For versions that do support a format, the presence or absence of |
|
102 | 102 | the corresponding requirement indicates whether to use that format. |
|
103 | 103 | |
|
104 |
When the file contains a ` |
|
|
104 | When the file contains a `dirstate-v2` line, | |
|
105 | 105 | the `dirstate-v2` format is used. |
|
106 | 106 | With no such line `dirstate-v1` is used. |
|
107 | 107 | |
|
108 | 108 | High level description |
|
109 | 109 | ---------------------- |
|
110 | 110 | |
|
111 |
Whereas `dirstate-v1` uses a single `.hg/di |
|
|
111 | Whereas `dirstate-v1` uses a single `.hg/dirstate` file, | |
|
112 | 112 | in `dirstate-v2` that file is a "docket" file |
|
113 | 113 | that only contains some metadata |
|
114 | 114 | and points to separate data file named `.hg/dirstate.{ID}`, |
@@ -173,7 +173,7 b' counted in bytes from the start of the f' | |||
|
173 | 173 | * Offset 120: |
|
174 | 174 | The used size of the data file, as a 32-bit big-endian integer. |
|
175 | 175 | The actual size of the data file may be larger |
|
176 |
(if another Mercurial process |
|
|
176 | (if another Mercurial process is appending to it | |
|
177 | 177 | but has not updated the docket yet). |
|
178 | 178 | That extra data must be ignored. |
|
179 | 179 | |
@@ -303,15 +303,15 b' nodes must be next to each other and sor' | |||
|
303 | 303 | Contiguity lets the parent refer to them all |
|
304 | 304 | by their count and a single pseudo-pointer, |
|
305 | 305 | instead of storing one pseudo-pointer per child node. |
|
306 | Sorting allows using binary seach to find a child node with a given name | |
|
306 | Sorting allows using binary search to find a child node with a given name | |
|
307 | 307 | in `O(log(n))` byte sequence comparisons. |
|
308 | 308 | |
|
309 | The current implemention writes paths and child node before a given node | |
|
309 | The current implementation writes paths and child node before a given node | |
|
310 | 310 | for ease of figuring out the value of pseudo-pointers by the time the are to be |
|
311 | 311 | written, but this is not an obligation and readers must not rely on it. |
|
312 | 312 | |
|
313 | 313 | A path is stored as a byte string anywhere in the file, without delimiter. |
|
314 | It is refered to by one or more node by a pseudo-pointer to its start, and its | |
|
314 | It is referred to by one or more node by a pseudo-pointer to its start, and its | |
|
315 | 315 | length in bytes. Since there is no delimiter, |
|
316 | 316 | when a path is a substring of another the same bytes could be reused, |
|
317 | 317 | although the implementation does not exploit this as of this writing. |
@@ -418,7 +418,7 b' Node components are:' | |||
|
418 | 418 | as a 32-bit integer. |
|
419 | 419 | When `mtime` is used, |
|
420 | 420 | this is the number of nanoseconds since `mtime.seconds`, |
|
421 |
always stri |
|
|
421 | always strictly less than one billion. | |
|
422 | 422 | |
|
423 | 423 | This may be zero if more precision is not available. |
|
424 | 424 | (This can happen because of limitations in any of Mercurial, Python, |
@@ -503,8 +503,8 b' by enabling it to skip `readdir` in more' | |||
|
503 | 503 | file system. |
|
504 | 504 | |
|
505 | 505 | * When `HAS_MTIME` is set a directory has been seen on the file system and |
|
506 |
`mtime` matches its last modific |
|
|
507 | does not indicate the lack of directory on the file system. | |
|
506 | `mtime` matches its last modification time. However, `HAS_MTIME` not | |
|
507 | being set does not indicate the lack of directory on the file system. | |
|
508 | 508 | |
|
509 | 509 | * When not tracked anywhere, this node does not represent an ignored or |
|
510 | 510 | unknown file on disk. |
@@ -562,8 +562,8 b' by enabling it to skip `readdir` in more' | |||
|
562 | 562 | where present. |
|
563 | 563 | |
|
564 | 564 | Also note that having this flag unset does not imply that no "unknown" |
|
565 |
children have been recorded. Some might be present, but there is |
|
|
566 | that is will be all of them. | |
|
565 | children have been recorded. Some might be present, but there is | |
|
566 | no guarantee that is will be all of them. | |
|
567 | 567 | |
|
568 | 568 | `ALL_IGNORED_RECORDED` |
|
569 | 569 | If set, all "ignored" children existing on disk (at the time of the last |
@@ -575,8 +575,8 b' by enabling it to skip `readdir` in more' | |||
|
575 | 575 | where present. |
|
576 | 576 | |
|
577 | 577 | Also note that having this flag unset does not imply that no "ignored" |
|
578 |
children have been recorded. Some might be present, but there is |
|
|
579 | that is will be all of them. | |
|
578 | children have been recorded. Some might be present, but there is | |
|
579 | no guarantee that is will be all of them. | |
|
580 | 580 | |
|
581 | 581 | `HAS_FALLBACK_EXEC` |
|
582 | 582 | If this flag is set, the entry carries "fallback" information for the |
@@ -612,5 +612,5 b' by enabling it to skip `readdir` in more' | |||
|
612 | 612 | This flag is relevant only when `HAS_FILE_MTIME` is set. When set, the |
|
613 | 613 | `mtime` stored in the entry is only valid for comparison with timestamps |
|
614 | 614 | that have nanosecond information. If available timestamp does not carries |
|
615 |
nanosecond information, the `mtime` should be ignored and no optimi |
|
|
615 | nanosecond information, the `mtime` should be ignored and no optimization | |
|
616 | 616 | can be applied. |
@@ -1061,7 +1061,7 b' def has_repofncache():' | |||
|
1061 | 1061 | def has_dirstate_v2(): |
|
1062 | 1062 | # Keep this logic in sync with `newreporequirements()` in `mercurial/localrepo.py` |
|
1063 | 1063 | return has_rust() and matchoutput( |
|
1064 | 'hg config format.exp-dirstate-v2', b'(?i)1|yes|true|on|always' | |
|
1064 | 'hg config format.exp-rc-dirstate-v2', b'(?i)1|yes|true|on|always' | |
|
1065 | 1065 | ) |
|
1066 | 1066 | |
|
1067 | 1067 |
@@ -552,14 +552,14 b' Make sure the last revision is a delta a' | |||
|
552 | 552 | Censor the file |
|
553 | 553 | |
|
554 | 554 | $ hg cat -r $B1 target | wc -l |
|
555 | 50002 (re) | |
|
555 | *50002 (re) | |
|
556 | 556 | $ hg censor -r $B1 target |
|
557 | 557 | $ hg cat -r $B1 target | wc -l |
|
558 | 0 (re) | |
|
558 | *0 (re) | |
|
559 | 559 | |
|
560 | 560 | Check the children is fine |
|
561 | 561 | |
|
562 | 562 | $ hg cat -r $B2 target | wc -l |
|
563 | 50003 (re) | |
|
563 | *50003 (re) | |
|
564 | 564 | |
|
565 | 565 | #endif |
@@ -96,7 +96,7 b' Name with special characters' | |||
|
96 | 96 | |
|
97 | 97 | name causing issue6581 |
|
98 | 98 | |
|
99 |
$ mkdir |
|
|
99 | $ mkdir -p container/isam-build-centos7/ | |
|
100 | 100 | $ touch container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch |
|
101 | 101 | |
|
102 | 102 | Add all that |
@@ -19,7 +19,7 b" creating 'local'" | |||
|
19 | 19 | store created |
|
20 | 20 | 00changelog.i created |
|
21 | 21 | dotencode |
|
22 |
|
|
|
22 | dirstate-v2 (dirstate-v2 !) | |
|
23 | 23 | fncache |
|
24 | 24 | generaldelta |
|
25 | 25 | persistent-nodemap (rust !) |
@@ -61,7 +61,7 b' creating repo with format.usestore=false' | |||
|
61 | 61 | |
|
62 | 62 | $ hg --config format.usestore=false init old |
|
63 | 63 | $ checknewrepo old |
|
64 |
|
|
|
64 | dirstate-v2 (dirstate-v2 !) | |
|
65 | 65 | generaldelta |
|
66 | 66 | persistent-nodemap (rust !) |
|
67 | 67 | revlog-compression-zstd (zstd !) |
@@ -75,7 +75,7 b' creating repo with format.usefncache=fal' | |||
|
75 | 75 | $ checknewrepo old2 |
|
76 | 76 | store created |
|
77 | 77 | 00changelog.i created |
|
78 |
|
|
|
78 | dirstate-v2 (dirstate-v2 !) | |
|
79 | 79 | generaldelta |
|
80 | 80 | persistent-nodemap (rust !) |
|
81 | 81 | revlog-compression-zstd (zstd !) |
@@ -90,7 +90,7 b' creating repo with format.dotencode=fals' | |||
|
90 | 90 | $ checknewrepo old3 |
|
91 | 91 | store created |
|
92 | 92 | 00changelog.i created |
|
93 |
|
|
|
93 | dirstate-v2 (dirstate-v2 !) | |
|
94 | 94 | fncache |
|
95 | 95 | generaldelta |
|
96 | 96 | persistent-nodemap (rust !) |
@@ -107,7 +107,7 b' creating repo with format.dotencode=fals' | |||
|
107 | 107 | store created |
|
108 | 108 | 00changelog.i created |
|
109 | 109 | dotencode |
|
110 |
|
|
|
110 | dirstate-v2 (dirstate-v2 !) | |
|
111 | 111 | fncache |
|
112 | 112 | persistent-nodemap (rust !) |
|
113 | 113 | revlog-compression-zstd (zstd !) |
@@ -226,7 +226,7 b" creating 'local/sub/repo'" | |||
|
226 | 226 | store created |
|
227 | 227 | 00changelog.i created |
|
228 | 228 | dotencode |
|
229 |
|
|
|
229 | dirstate-v2 (dirstate-v2 !) | |
|
230 | 230 | fncache |
|
231 | 231 | generaldelta |
|
232 | 232 | persistent-nodemap (rust !) |
@@ -249,7 +249,7 b' init should (for consistency with clone)' | |||
|
249 | 249 | store created |
|
250 | 250 | 00changelog.i created |
|
251 | 251 | dotencode |
|
252 |
|
|
|
252 | dirstate-v2 (dirstate-v2 !) | |
|
253 | 253 | fncache |
|
254 | 254 | generaldelta |
|
255 | 255 | persistent-nodemap (rust !) |
@@ -268,7 +268,7 b' verify that clone also expand urls' | |||
|
268 | 268 | store created |
|
269 | 269 | 00changelog.i created |
|
270 | 270 | dotencode |
|
271 |
|
|
|
271 | dirstate-v2 (dirstate-v2 !) | |
|
272 | 272 | fncache |
|
273 | 273 | generaldelta |
|
274 | 274 | persistent-nodemap (rust !) |
@@ -96,7 +96,7 b' Test link+rename largefile codepath' | |||
|
96 | 96 | "lfconvert" adds 'largefiles' to .hg/requires. |
|
97 | 97 | $ cat .hg/requires |
|
98 | 98 | dotencode |
|
99 |
|
|
|
99 | dirstate-v2 (dirstate-v2 !) | |
|
100 | 100 | fncache |
|
101 | 101 | generaldelta |
|
102 | 102 | largefiles |
@@ -290,7 +290,7 b' The requirement is added to the destinat' | |||
|
290 | 290 | |
|
291 | 291 | $ cat .hg/requires |
|
292 | 292 | dotencode |
|
293 |
|
|
|
293 | dirstate-v2 (dirstate-v2 !) | |
|
294 | 294 | fncache |
|
295 | 295 | generaldelta |
|
296 | 296 | lfs |
@@ -24,7 +24,7 b' narrow clone a file, f10' | |||
|
24 | 24 | $ cd narrow |
|
25 | 25 | $ cat .hg/requires | grep -v generaldelta |
|
26 | 26 | dotencode |
|
27 |
|
|
|
27 | dirstate-v2 (dirstate-v2 !) | |
|
28 | 28 | fncache |
|
29 | 29 | narrowhg-experimental |
|
30 | 30 | persistent-nodemap (rust !) |
@@ -64,7 +64,7 b' Making sure we have the correct set of r' | |||
|
64 | 64 | $ cat .hg/requires |
|
65 | 65 | dotencode (tree !) |
|
66 | 66 | dotencode (flat-fncache !) |
|
67 |
|
|
|
67 | dirstate-v2 (dirstate-v2 !) | |
|
68 | 68 | fncache (tree !) |
|
69 | 69 | fncache (flat-fncache !) |
|
70 | 70 | generaldelta |
@@ -40,7 +40,7 b' narrow clone a file, f10' | |||
|
40 | 40 | $ cd narrow |
|
41 | 41 | $ cat .hg/requires | grep -v generaldelta |
|
42 | 42 | dotencode |
|
43 |
|
|
|
43 | dirstate-v2 (dirstate-v2 !) | |
|
44 | 44 | fncache |
|
45 | 45 | narrowhg-experimental |
|
46 | 46 | persistent-nodemap (rust !) |
@@ -58,7 +58,7 b' XXX: we should have a flag in `hg debugs' | |||
|
58 | 58 | |
|
59 | 59 | $ cat .hg/requires |
|
60 | 60 | dotencode |
|
61 |
|
|
|
61 | dirstate-v2 (dirstate-v2 !) | |
|
62 | 62 | fncache |
|
63 | 63 | generaldelta |
|
64 | 64 | narrowhg-experimental |
@@ -988,9 +988,10 b' truncate the file' | |||
|
988 | 988 | $ datafilepath=`ls corruption-test-repo/.hg/store/00changelog*.nd` |
|
989 | 989 | $ f -s $datafilepath |
|
990 | 990 | corruption-test-repo/.hg/store/00changelog-*.nd: size=121088 (glob) |
|
991 |
$ dd if=$datafilepath bs=1000 count=10 of=$datafilepath-tmp |
|
|
991 | $ dd if=$datafilepath bs=1000 count=10 of=$datafilepath-tmp | |
|
992 | 992 | 10+0 records in |
|
993 | 993 | 10+0 records out |
|
994 | * bytes * (glob) | |
|
994 | 995 | $ mv $datafilepath-tmp $datafilepath |
|
995 | 996 | $ f -s $datafilepath |
|
996 | 997 | corruption-test-repo/.hg/store/00changelog-*.nd: size=10000 (glob) |
@@ -884,7 +884,7 b' Check we deny its usage on older reposit' | |||
|
884 | 884 | $ cd no-internal-phase |
|
885 | 885 | $ cat .hg/requires |
|
886 | 886 | dotencode |
|
887 |
|
|
|
887 | dirstate-v2 (dirstate-v2 !) | |
|
888 | 888 | fncache |
|
889 | 889 | generaldelta |
|
890 | 890 | persistent-nodemap (rust !) |
@@ -913,7 +913,7 b' Check it works fine with repository that' | |||
|
913 | 913 | $ cd internal-phase |
|
914 | 914 | $ cat .hg/requires |
|
915 | 915 | dotencode |
|
916 |
|
|
|
916 | dirstate-v2 (dirstate-v2 !) | |
|
917 | 917 | fncache |
|
918 | 918 | generaldelta |
|
919 | 919 | internal-phase |
@@ -27,7 +27,7 b'' | |||
|
27 | 27 | $ cd shallow |
|
28 | 28 | $ cat .hg/requires |
|
29 | 29 | dotencode |
|
30 |
|
|
|
30 | dirstate-v2 (dirstate-v2 !) | |
|
31 | 31 | exp-remotefilelog-repo-req-1 |
|
32 | 32 | fncache |
|
33 | 33 | generaldelta |
@@ -71,7 +71,7 b'' | |||
|
71 | 71 | $ cd shallow2 |
|
72 | 72 | $ cat .hg/requires |
|
73 | 73 | dotencode |
|
74 |
|
|
|
74 | dirstate-v2 (dirstate-v2 !) | |
|
75 | 75 | exp-remotefilelog-repo-req-1 |
|
76 | 76 | fncache |
|
77 | 77 | generaldelta |
@@ -115,7 +115,7 b'' | |||
|
115 | 115 | $ ls shallow3/.hg/store/data |
|
116 | 116 | $ cat shallow3/.hg/requires |
|
117 | 117 | dotencode |
|
118 |
|
|
|
118 | dirstate-v2 (dirstate-v2 !) | |
|
119 | 119 | exp-remotefilelog-repo-req-1 |
|
120 | 120 | fncache |
|
121 | 121 | generaldelta |
@@ -24,7 +24,7 b'' | |||
|
24 | 24 | $ cd shallow |
|
25 | 25 | $ cat .hg/requires |
|
26 | 26 | dotencode |
|
27 |
|
|
|
27 | dirstate-v2 (dirstate-v2 !) | |
|
28 | 28 | exp-remotefilelog-repo-req-1 |
|
29 | 29 | fncache |
|
30 | 30 | generaldelta |
@@ -61,7 +61,7 b'' | |||
|
61 | 61 | $ cd shallow2 |
|
62 | 62 | $ cat .hg/requires |
|
63 | 63 | dotencode |
|
64 |
|
|
|
64 | dirstate-v2 (dirstate-v2 !) | |
|
65 | 65 | exp-remotefilelog-repo-req-1 |
|
66 | 66 | fncache |
|
67 | 67 | generaldelta |
@@ -113,7 +113,7 b' check its contents separately.' | |||
|
113 | 113 | $ ls shallow3/.hg/store/data |
|
114 | 114 | $ cat shallow3/.hg/requires |
|
115 | 115 | dotencode |
|
116 |
|
|
|
116 | dirstate-v2 (dirstate-v2 !) | |
|
117 | 117 | exp-remotefilelog-repo-req-1 |
|
118 | 118 | fncache |
|
119 | 119 | generaldelta |
@@ -27,7 +27,7 b' Shallow clone from full' | |||
|
27 | 27 | $ cd shallow |
|
28 | 28 | $ cat .hg/requires |
|
29 | 29 | dotencode |
|
30 |
|
|
|
30 | dirstate-v2 (dirstate-v2 !) | |
|
31 | 31 | exp-remotefilelog-repo-req-1 |
|
32 | 32 | fncache |
|
33 | 33 | generaldelta |
@@ -11,7 +11,7 b' A new repository uses zlib storage, whic' | |||
|
11 | 11 | $ cd default |
|
12 | 12 | $ cat .hg/requires |
|
13 | 13 | dotencode |
|
14 |
|
|
|
14 | dirstate-v2 (dirstate-v2 !) | |
|
15 | 15 | fncache |
|
16 | 16 | generaldelta |
|
17 | 17 | persistent-nodemap (rust !) |
@@ -61,7 +61,7 b' with that engine or a requirement' | |||
|
61 | 61 | |
|
62 | 62 | $ cat .hg/requires |
|
63 | 63 | dotencode |
|
64 |
|
|
|
64 | dirstate-v2 (dirstate-v2 !) | |
|
65 | 65 | fncache |
|
66 | 66 | generaldelta |
|
67 | 67 | persistent-nodemap (rust !) |
@@ -81,7 +81,7 b' with that engine or a requirement' | |||
|
81 | 81 | $ cd zstd |
|
82 | 82 | $ cat .hg/requires |
|
83 | 83 | dotencode |
|
84 |
|
|
|
84 | dirstate-v2 (dirstate-v2 !) | |
|
85 | 85 | fncache |
|
86 | 86 | generaldelta |
|
87 | 87 | persistent-nodemap (rust !) |
@@ -186,7 +186,7 b' checking details of none compression' | |||
|
186 | 186 | $ cat none-compression/.hg/requires |
|
187 | 187 | dotencode |
|
188 | 188 | exp-compression-none |
|
189 |
|
|
|
189 | dirstate-v2 (dirstate-v2 !) | |
|
190 | 190 | fncache |
|
191 | 191 | generaldelta |
|
192 | 192 | persistent-nodemap (rust !) |
@@ -50,7 +50,7 b' another repository of push/pull/clone on' | |||
|
50 | 50 | > EOF |
|
51 | 51 | $ hg -R supported debugrequirements |
|
52 | 52 | dotencode |
|
53 |
|
|
|
53 | dirstate-v2 (dirstate-v2 !) | |
|
54 | 54 | featuresetup-test |
|
55 | 55 | fncache |
|
56 | 56 | generaldelta |
@@ -22,7 +22,7 b' Can create and open repo with revlog v2 ' | |||
|
22 | 22 | $ cd new-repo |
|
23 | 23 | $ cat .hg/requires |
|
24 | 24 | dotencode |
|
25 |
|
|
|
25 | dirstate-v2 (dirstate-v2 !) | |
|
26 | 26 | exp-revlogv2.2 |
|
27 | 27 | fncache |
|
28 | 28 | generaldelta |
@@ -19,7 +19,7 b' prepare source repo' | |||
|
19 | 19 | $ hg init source |
|
20 | 20 | $ cd source |
|
21 | 21 | $ cat .hg/requires |
|
22 |
|
|
|
22 | dirstate-v2 (dirstate-v2 !) | |
|
23 | 23 | share-safe |
|
24 | 24 | $ cat .hg/store/requires |
|
25 | 25 | dotencode |
@@ -30,7 +30,7 b' prepare source repo' | |||
|
30 | 30 | store |
|
31 | 31 | $ hg debugrequirements |
|
32 | 32 | dotencode |
|
33 |
|
|
|
33 | dirstate-v2 (dirstate-v2 !) | |
|
34 | 34 | fncache |
|
35 | 35 | generaldelta |
|
36 | 36 | revlogv1 |
@@ -54,13 +54,13 b' Create a shared repo and check the requi' | |||
|
54 | 54 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
55 | 55 | $ cd shared1 |
|
56 | 56 | $ cat .hg/requires |
|
57 |
|
|
|
57 | dirstate-v2 (dirstate-v2 !) | |
|
58 | 58 | share-safe |
|
59 | 59 | shared |
|
60 | 60 | |
|
61 | 61 | $ hg debugrequirements -R ../source |
|
62 | 62 | dotencode |
|
63 |
|
|
|
63 | dirstate-v2 (dirstate-v2 !) | |
|
64 | 64 | fncache |
|
65 | 65 | generaldelta |
|
66 | 66 | revlogv1 |
@@ -70,7 +70,7 b' Create a shared repo and check the requi' | |||
|
70 | 70 | |
|
71 | 71 | $ hg debugrequirements |
|
72 | 72 | dotencode |
|
73 |
|
|
|
73 | dirstate-v2 (dirstate-v2 !) | |
|
74 | 74 | fncache |
|
75 | 75 | generaldelta |
|
76 | 76 | revlogv1 |
@@ -327,7 +327,7 b' Test that upgrading using debugupgradere' | |||
|
327 | 327 | $ cd non-share-safe |
|
328 | 328 | $ hg debugrequirements |
|
329 | 329 | dotencode |
|
330 |
|
|
|
330 | dirstate-v2 (dirstate-v2 !) | |
|
331 | 331 | fncache |
|
332 | 332 | generaldelta |
|
333 | 333 | revlogv1 |
@@ -346,7 +346,7 b' Create a share before upgrading' | |||
|
346 | 346 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
347 | 347 | $ hg debugrequirements -R nss-share |
|
348 | 348 | dotencode |
|
349 |
|
|
|
349 | dirstate-v2 (dirstate-v2 !) | |
|
350 | 350 | fncache |
|
351 | 351 | generaldelta |
|
352 | 352 | revlogv1 |
@@ -394,7 +394,7 b' Upgrade' | |||
|
394 | 394 | |
|
395 | 395 | $ hg debugrequirements |
|
396 | 396 | dotencode |
|
397 |
|
|
|
397 | dirstate-v2 (dirstate-v2 !) | |
|
398 | 398 | fncache |
|
399 | 399 | generaldelta |
|
400 | 400 | revlogv1 |
@@ -403,7 +403,7 b' Upgrade' | |||
|
403 | 403 | store |
|
404 | 404 | |
|
405 | 405 | $ cat .hg/requires |
|
406 |
|
|
|
406 | dirstate-v2 (dirstate-v2 !) | |
|
407 | 407 | share-safe |
|
408 | 408 | |
|
409 | 409 | $ cat .hg/store/requires |
@@ -485,7 +485,7 b' Test that downgrading works too' | |||
|
485 | 485 | |
|
486 | 486 | $ hg debugrequirements |
|
487 | 487 | dotencode |
|
488 |
|
|
|
488 | dirstate-v2 (dirstate-v2 !) | |
|
489 | 489 | fncache |
|
490 | 490 | generaldelta |
|
491 | 491 | revlogv1 |
@@ -494,7 +494,7 b' Test that downgrading works too' | |||
|
494 | 494 | |
|
495 | 495 | $ cat .hg/requires |
|
496 | 496 | dotencode |
|
497 |
|
|
|
497 | dirstate-v2 (dirstate-v2 !) | |
|
498 | 498 | fncache |
|
499 | 499 | generaldelta |
|
500 | 500 | revlogv1 |
@@ -564,7 +564,7 b' Testing automatic upgrade of shares when' | |||
|
564 | 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 | 565 | $ hg debugrequirements |
|
566 | 566 | dotencode |
|
567 |
|
|
|
567 | dirstate-v2 (dirstate-v2 !) | |
|
568 | 568 | fncache |
|
569 | 569 | generaldelta |
|
570 | 570 | revlogv1 |
@@ -18,7 +18,7 b' Enable sparse profile' | |||
|
18 | 18 | |
|
19 | 19 | $ cat .hg/requires |
|
20 | 20 | dotencode |
|
21 |
|
|
|
21 | dirstate-v2 (dirstate-v2 !) | |
|
22 | 22 | fncache |
|
23 | 23 | generaldelta |
|
24 | 24 | persistent-nodemap (rust !) |
@@ -38,7 +38,7 b' Requirement for sparse added when sparse' | |||
|
38 | 38 | |
|
39 | 39 | $ cat .hg/requires |
|
40 | 40 | dotencode |
|
41 |
|
|
|
41 | dirstate-v2 (dirstate-v2 !) | |
|
42 | 42 | exp-sparse |
|
43 | 43 | fncache |
|
44 | 44 | generaldelta |
@@ -61,7 +61,7 b' Requirement for sparse is removed when s' | |||
|
61 | 61 | |
|
62 | 62 | $ cat .hg/requires |
|
63 | 63 | dotencode |
|
64 |
|
|
|
64 | dirstate-v2 (dirstate-v2 !) | |
|
65 | 65 | fncache |
|
66 | 66 | generaldelta |
|
67 | 67 | persistent-nodemap (rust !) |
@@ -15,7 +15,7 b' New repo should not use SQLite by defaul' | |||
|
15 | 15 | $ hg init empty-no-sqlite |
|
16 | 16 | $ cat empty-no-sqlite/.hg/requires |
|
17 | 17 | dotencode |
|
18 |
|
|
|
18 | dirstate-v2 (dirstate-v2 !) | |
|
19 | 19 | fncache |
|
20 | 20 | generaldelta |
|
21 | 21 | persistent-nodemap (rust !) |
@@ -29,7 +29,7 b' storage.new-repo-backend=sqlite is recog' | |||
|
29 | 29 | $ hg --config storage.new-repo-backend=sqlite init empty-sqlite |
|
30 | 30 | $ cat empty-sqlite/.hg/requires |
|
31 | 31 | dotencode |
|
32 |
|
|
|
32 | dirstate-v2 (dirstate-v2 !) | |
|
33 | 33 | exp-sqlite-001 |
|
34 | 34 | exp-sqlite-comp-001=zstd (zstd !) |
|
35 | 35 | exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ (no-zstd !) |
@@ -51,7 +51,7 b' Can force compression to zlib' | |||
|
51 | 51 | $ hg --config storage.sqlite.compression=zlib init empty-zlib |
|
52 | 52 | $ cat empty-zlib/.hg/requires |
|
53 | 53 | dotencode |
|
54 |
|
|
|
54 | dirstate-v2 (dirstate-v2 !) | |
|
55 | 55 | exp-sqlite-001 |
|
56 | 56 | exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ |
|
57 | 57 | fncache |
@@ -67,7 +67,7 b' Can force compression to none' | |||
|
67 | 67 | $ hg --config storage.sqlite.compression=none init empty-none |
|
68 | 68 | $ cat empty-none/.hg/requires |
|
69 | 69 | dotencode |
|
70 |
|
|
|
70 | dirstate-v2 (dirstate-v2 !) | |
|
71 | 71 | exp-sqlite-001 |
|
72 | 72 | exp-sqlite-comp-001=none |
|
73 | 73 | fncache |
General Comments 0
You need to be logged in to leave comments.
Login now