Show More
@@ -152,7 +152,6 b' check-pytype-py3:' | |||||
152 | # that satisfies the various shebang lines and delegates to `py -3`. |
|
152 | # that satisfies the various shebang lines and delegates to `py -3`. | |
153 | .window_runtests_template: &windows_runtests |
|
153 | .window_runtests_template: &windows_runtests | |
154 | <<: *all |
|
154 | <<: *all | |
155 | when: manual # we don't have any Windows runners anymore at the moment |
|
|||
156 | stage: tests |
|
155 | stage: tests | |
157 | before_script: |
|
156 | before_script: | |
158 | - C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.* > C:/Temp/check-tests.txt' |
|
157 | - 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 | #define PyInt_FromLong PyLong_FromLong |
|
25 | #define PyInt_FromLong PyLong_FromLong | |
26 | #define PyInt_FromSsize_t PyLong_FromSsize_t |
|
26 | #define PyInt_FromSsize_t PyLong_FromSsize_t | |
27 | #define PyInt_AsLong PyLong_AsLong |
|
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 | #endif |
|
34 | #endif | |
29 |
|
35 | |||
30 | static const char *const versionerrortext = "Python minor version mismatch"; |
|
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 | so accessing any information in it requires parsing all of it. |
|
12 | so accessing any information in it requires parsing all of it. | |
13 | Similarly, saving changes requires rewriting the entire file. |
|
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 | and make `hg status` faster. |
|
16 | and make `hg status` faster. | |
17 |
|
17 | |||
18 | User guide |
|
18 | User guide | |
@@ -33,18 +33,18 b' Since the dirstate is entirely local and' | |||||
33 | When `share-safe` is enabled, different repositories sharing the same store |
|
33 | When `share-safe` is enabled, different repositories sharing the same store | |
34 | can use different dirstate formats. |
|
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 | When creating a new local repository such as with `hg init` or `hg clone`, |
|
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 | controls whether to use this file format. |
|
41 | controls whether to use this file format. | |
42 | This is disabled by default as of this writing. |
|
42 | This is disabled by default as of this writing. | |
43 | To enable it for a single repository, run for example:: |
|
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 | The `debugformat` commands prints information about |
|
50 | The `debugformat` commands prints information about | |
@@ -63,15 +63,15 b' Upgrading or downgrading an existing loc' | |||||
63 | The `debugupgrade` command does various upgrades or downgrades |
|
63 | The `debugupgrade` command does various upgrades or downgrades | |
64 | on a local repository |
|
64 | on a local repository | |
65 | based on the current Mercurial version and on configuration. |
|
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 | Example to upgrade:: |
|
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 | Example to downgrade to `dirstate-v1`:: |
|
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 | Both of this commands do nothing but print a list of proposed changes, |
|
76 | Both of this commands do nothing but print a list of proposed changes, | |
77 | which may include changes unrelated to the dirstate. |
|
77 | which may include changes unrelated to the dirstate. | |
@@ -96,19 +96,19 b' Requirements file' | |||||
96 | The `.hg/requires` file indicates which of various optional file formats |
|
96 | The `.hg/requires` file indicates which of various optional file formats | |
97 | are used by a given repository. |
|
97 | are used by a given repository. | |
98 | Mercurial aborts when seeing a requirement it does not know about, |
|
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 | that uses a format that was introduced later. |
|
100 | that uses a format that was introduced later. | |
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 ` |
|
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 | |||
108 | High level description |
|
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 | in `dirstate-v2` that file is a "docket" file |
|
112 | in `dirstate-v2` that file is a "docket" file | |
113 | that only contains some metadata |
|
113 | that only contains some metadata | |
114 | and points to separate data file named `.hg/dirstate.{ID}`, |
|
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 | * Offset 120: |
|
173 | * Offset 120: | |
174 | The used size of the data file, as a 32-bit big-endian integer. |
|
174 | The used size of the data file, as a 32-bit big-endian integer. | |
175 | The actual size of the data file may be larger |
|
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 | but has not updated the docket yet). |
|
177 | but has not updated the docket yet). | |
178 | That extra data must be ignored. |
|
178 | That extra data must be ignored. | |
179 |
|
179 | |||
@@ -303,15 +303,15 b' nodes must be next to each other and sor' | |||||
303 | Contiguity lets the parent refer to them all |
|
303 | Contiguity lets the parent refer to them all | |
304 | by their count and a single pseudo-pointer, |
|
304 | by their count and a single pseudo-pointer, | |
305 | instead of storing one pseudo-pointer per child node. |
|
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 | in `O(log(n))` byte sequence comparisons. |
|
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 | for ease of figuring out the value of pseudo-pointers by the time the are to be |
|
310 | for ease of figuring out the value of pseudo-pointers by the time the are to be | |
311 | written, but this is not an obligation and readers must not rely on it. |
|
311 | written, but this is not an obligation and readers must not rely on it. | |
312 |
|
312 | |||
313 | A path is stored as a byte string anywhere in the file, without delimiter. |
|
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 | length in bytes. Since there is no delimiter, |
|
315 | length in bytes. Since there is no delimiter, | |
316 | when a path is a substring of another the same bytes could be reused, |
|
316 | when a path is a substring of another the same bytes could be reused, | |
317 | although the implementation does not exploit this as of this writing. |
|
317 | although the implementation does not exploit this as of this writing. | |
@@ -418,7 +418,7 b' Node components are:' | |||||
418 | as a 32-bit integer. |
|
418 | as a 32-bit integer. | |
419 | When `mtime` is used, |
|
419 | When `mtime` is used, | |
420 | this is the number of nanoseconds since `mtime.seconds`, |
|
420 | this is the number of nanoseconds since `mtime.seconds`, | |
421 |
always stri |
|
421 | always strictly less than one billion. | |
422 |
|
422 | |||
423 | This may be zero if more precision is not available. |
|
423 | This may be zero if more precision is not available. | |
424 | (This can happen because of limitations in any of Mercurial, Python, |
|
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 | file system. |
|
503 | file system. | |
504 |
|
504 | |||
505 | * When `HAS_MTIME` is set a directory has been seen on the file system and |
|
505 | * When `HAS_MTIME` is set a directory has been seen on the file system and | |
506 |
`mtime` matches its last modific |
|
506 | `mtime` matches its last modification time. However, `HAS_MTIME` not | |
507 | does not indicate the lack of directory on the file system. |
|
507 | being set does not indicate the lack of directory on the file system. | |
508 |
|
508 | |||
509 | * When not tracked anywhere, this node does not represent an ignored or |
|
509 | * When not tracked anywhere, this node does not represent an ignored or | |
510 | unknown file on disk. |
|
510 | unknown file on disk. | |
@@ -562,8 +562,8 b' by enabling it to skip `readdir` in more' | |||||
562 | where present. |
|
562 | where present. | |
563 |
|
563 | |||
564 | Also note that having this flag unset does not imply that no "unknown" |
|
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 |
|
565 | children have been recorded. Some might be present, but there is | |
566 | that is will be all of them. |
|
566 | no guarantee that is will be all of them. | |
567 |
|
567 | |||
568 | `ALL_IGNORED_RECORDED` |
|
568 | `ALL_IGNORED_RECORDED` | |
569 | If set, all "ignored" children existing on disk (at the time of the last |
|
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 | where present. |
|
575 | where present. | |
576 |
|
576 | |||
577 | Also note that having this flag unset does not imply that no "ignored" |
|
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 |
|
578 | children have been recorded. Some might be present, but there is | |
579 | that is will be all of them. |
|
579 | no guarantee that is will be all of them. | |
580 |
|
580 | |||
581 | `HAS_FALLBACK_EXEC` |
|
581 | `HAS_FALLBACK_EXEC` | |
582 | If this flag is set, the entry carries "fallback" information for the |
|
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 | This flag is relevant only when `HAS_FILE_MTIME` is set. When set, the |
|
612 | This flag is relevant only when `HAS_FILE_MTIME` is set. When set, the | |
613 | `mtime` stored in the entry is only valid for comparison with timestamps |
|
613 | `mtime` stored in the entry is only valid for comparison with timestamps | |
614 | that have nanosecond information. If available timestamp does not carries |
|
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 | can be applied. |
|
616 | can be applied. |
@@ -1061,7 +1061,7 b' def has_repofncache():' | |||||
1061 | def has_dirstate_v2(): |
|
1061 | def has_dirstate_v2(): | |
1062 | # Keep this logic in sync with `newreporequirements()` in `mercurial/localrepo.py` |
|
1062 | # Keep this logic in sync with `newreporequirements()` in `mercurial/localrepo.py` | |
1063 | return has_rust() and matchoutput( |
|
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 | Censor the file |
|
552 | Censor the file | |
553 |
|
553 | |||
554 | $ hg cat -r $B1 target | wc -l |
|
554 | $ hg cat -r $B1 target | wc -l | |
555 | 50002 (re) |
|
555 | *50002 (re) | |
556 | $ hg censor -r $B1 target |
|
556 | $ hg censor -r $B1 target | |
557 | $ hg cat -r $B1 target | wc -l |
|
557 | $ hg cat -r $B1 target | wc -l | |
558 | 0 (re) |
|
558 | *0 (re) | |
559 |
|
559 | |||
560 | Check the children is fine |
|
560 | Check the children is fine | |
561 |
|
561 | |||
562 | $ hg cat -r $B2 target | wc -l |
|
562 | $ hg cat -r $B2 target | wc -l | |
563 | 50003 (re) |
|
563 | *50003 (re) | |
564 |
|
564 | |||
565 | #endif |
|
565 | #endif |
@@ -96,7 +96,7 b' Name with special characters' | |||||
96 |
|
96 | |||
97 | name causing issue6581 |
|
97 | name causing issue6581 | |
98 |
|
98 | |||
99 |
$ mkdir |
|
99 | $ mkdir -p container/isam-build-centos7/ | |
100 | $ touch container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch |
|
100 | $ touch container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch | |
101 |
|
101 | |||
102 | Add all that |
|
102 | Add all that |
@@ -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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
61 | dirstate-v2 (dirstate-v2 !) | |
62 | fncache |
|
62 | fncache | |
63 | generaldelta |
|
63 | generaldelta | |
64 | narrowhg-experimental |
|
64 | narrowhg-experimental |
@@ -988,9 +988,10 b' truncate the file' | |||||
988 | $ datafilepath=`ls corruption-test-repo/.hg/store/00changelog*.nd` |
|
988 | $ datafilepath=`ls corruption-test-repo/.hg/store/00changelog*.nd` | |
989 | $ f -s $datafilepath |
|
989 | $ f -s $datafilepath | |
990 | corruption-test-repo/.hg/store/00changelog-*.nd: size=121088 (glob) |
|
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 | 10+0 records in |
|
992 | 10+0 records in | |
993 | 10+0 records out |
|
993 | 10+0 records out | |
|
994 | * bytes * (glob) | |||
994 | $ mv $datafilepath-tmp $datafilepath |
|
995 | $ mv $datafilepath-tmp $datafilepath | |
995 | $ f -s $datafilepath |
|
996 | $ f -s $datafilepath | |
996 | corruption-test-repo/.hg/store/00changelog-*.nd: size=10000 (glob) |
|
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 | $ cd no-internal-phase |
|
884 | $ cd no-internal-phase | |
885 | $ cat .hg/requires |
|
885 | $ cat .hg/requires | |
886 | dotencode |
|
886 | dotencode | |
887 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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