Show More
@@ -663,9 +663,6 b' coreconfigitem(' | |||
|
663 | 663 | b'experimental', b'rust.index', default=False, |
|
664 | 664 | ) |
|
665 | 665 | coreconfigitem( |
|
666 | b'experimental', b'exp-persistent-nodemap.mode', default=b'compat', | |
|
667 | ) | |
|
668 | coreconfigitem( | |
|
669 | 666 | b'experimental', b'server.filesdata.recommended-batch-size', default=50000, |
|
670 | 667 | ) |
|
671 | 668 | coreconfigitem( |
@@ -1083,6 +1080,10 b' coreconfigitem(' | |||
|
1083 | 1080 | coreconfigitem( |
|
1084 | 1081 | b'storage', b'revlog.nodemap.mmap', default=True, experimental=True |
|
1085 | 1082 | ) |
|
1083 | # experimental as long as format.use-persistent-nodemap is. | |
|
1084 | coreconfigitem( | |
|
1085 | b'storage', b'revlog.nodemap.mode', default=b'compat', experimental=True | |
|
1086 | ) | |
|
1086 | 1087 | coreconfigitem( |
|
1087 | 1088 | b'storage', b'revlog.reuse-external-delta', default=True, |
|
1088 | 1089 | ) |
@@ -940,7 +940,7 b' def resolverevlogstorevfsoptions(ui, req' | |||
|
940 | 940 | options[b'persistent-nodemap'] = True |
|
941 | 941 | if ui.configbool(b'storage', b'revlog.nodemap.mmap'): |
|
942 | 942 | options[b'persistent-nodemap.mmap'] = True |
|
943 |
epnm = ui.config(b' |
|
|
943 | epnm = ui.config(b'storage', b'revlog.nodemap.mode') | |
|
944 | 944 | options[b'persistent-nodemap.mode'] = epnm |
|
945 | 945 | if ui.configbool(b'devel', b'persistent-nodemap'): |
|
946 | 946 | options[b'devel-force-nodemap'] = True |
@@ -10,7 +10,7 b' Test the persistent on-disk nodemap' | |||
|
10 | 10 | > EOF |
|
11 | 11 | $ hg init test-repo |
|
12 | 12 | $ cd test-repo |
|
13 |
$ hg debugbuilddag .+5000 --new-file --config " |
|
|
13 | $ hg debugbuilddag .+5000 --new-file --config "storage.revlog.nodemap.mode=warn" | |
|
14 | 14 | persistent nodemap in strict mode without efficient method (no-rust no-pure !) |
|
15 | 15 | persistent nodemap in strict mode without efficient method (no-rust no-pure !) |
|
16 | 16 | $ hg debugnodemap --metadata |
@@ -99,7 +99,7 b' add a new commit' | |||
|
99 | 99 | |
|
100 | 100 | #if no-pure no-rust |
|
101 | 101 | |
|
102 |
$ hg ci -m 'foo' --config " |
|
|
102 | $ hg ci -m 'foo' --config "storage.revlog.nodemap.mode=strict" | |
|
103 | 103 | transaction abort! |
|
104 | 104 | rollback completed |
|
105 | 105 | abort: persistent nodemap in strict mode without efficient method |
General Comments 0
You need to be logged in to leave comments.
Login now