Mercurial > hg
comparison tests/test-persistent-nodemap.t @ 44795:059c99af141d
nodemap: move the option for mmap usage to storage.revlog.nodemap.mmap
The option is stay experimental as long as the main feature is.
Differential Revision: https://phab.mercurial-scm.org/D8421
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 14 Apr 2020 03:20:21 +0200 |
parents | d688a8d537b9 |
children | d36283e20833 |
comparison
equal
deleted
inserted
replaced
44794:3cfcbb219496 | 44795:059c99af141d |
---|---|
154 Test code path without mmap | 154 Test code path without mmap |
155 --------------------------- | 155 --------------------------- |
156 | 156 |
157 $ echo bar > bar | 157 $ echo bar > bar |
158 $ hg add bar | 158 $ hg add bar |
159 $ hg ci -m 'bar' --config experimental.exp-persistent-nodemap.mmap=no | 159 $ hg ci -m 'bar' --config storage.revlog.nodemap.mmap=no |
160 | 160 |
161 $ hg debugnodemap --check --config experimental.exp-persistent-nodemap.mmap=yes | 161 $ hg debugnodemap --check --config storage.revlog.nodemap.mmap=yes |
162 revision in index: 5003 | 162 revision in index: 5003 |
163 revision in nodemap: 5003 | 163 revision in nodemap: 5003 |
164 $ hg debugnodemap --check --config experimental.exp-persistent-nodemap.mmap=no | 164 $ hg debugnodemap --check --config storage.revlog.nodemap.mmap=no |
165 revision in index: 5003 | 165 revision in index: 5003 |
166 revision in nodemap: 5003 | 166 revision in nodemap: 5003 |
167 | 167 |
168 | 168 |
169 #if pure | 169 #if pure |