Show More
@@ -732,7 +732,7 b' class revbranchcache:' | |||||
732 |
|
732 | |||
733 | if self._names: |
|
733 | if self._names: | |
734 | try: |
|
734 | try: | |
735 |
if repo.ui.configbool(b' |
|
735 | if repo.ui.configbool(b'storage', b'revbranchcache.mmap'): | |
736 | with repo.cachevfs(_rbcrevs) as fp: |
|
736 | with repo.cachevfs(_rbcrevs) as fp: | |
737 | data = util.buffer(util.mmapread(fp)) |
|
737 | data = util.buffer(util.mmapread(fp)) | |
738 | else: |
|
738 | else: |
@@ -2132,6 +2132,11 b' experimental = true # experimental as l' | |||||
2132 |
|
2132 | |||
2133 | [[items]] |
|
2133 | [[items]] | |
2134 | section = "storage" |
|
2134 | section = "storage" | |
|
2135 | name = "revbranchcache.mmap" | |||
|
2136 | default = true | |||
|
2137 | ||||
|
2138 | [[items]] | |||
|
2139 | section = "storage" | |||
2135 | name = "new-repo-backend" |
|
2140 | name = "new-repo-backend" | |
2136 | default = "revlogv1" |
|
2141 | default = "revlogv1" | |
2137 | experimental = true |
|
2142 | experimental = true | |
@@ -2935,8 +2940,3 b' section = "blackbox"' | |||||
2935 | name = "date-format" |
|
2940 | name = "date-format" | |
2936 | default = "" |
|
2941 | default = "" | |
2937 | in_core_extension = "blackbox" |
|
2942 | in_core_extension = "blackbox" | |
2938 |
|
||||
2939 | [[items]] |
|
|||
2940 | section = "format" |
|
|||
2941 | name = "mmap-revbranchcache" |
|
|||
2942 | default = false |
|
General Comments 0
You need to be logged in to leave comments.
Login now