Mercurial > hg
comparison mercurial/localrepo.py @ 44308:5962fd0d1045
nodemap: write nodemap data on disk
Let us start writing data on disk (so that we can read it from there later).
This series of changeset is going to focus first on having data on disk and
updating it.
Right now the data is written right next to the revlog data, in the store. We
might move it to cache (with proper cache validation mechanism) later, but for
now revlog have a storevfs instance and it is simpler to us it. The right
location for this data is not the focus of this series.
Differential Revision: https://phab.mercurial-scm.org/D7835
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 15 Jan 2020 15:47:21 +0100 |
parents | 238790674d69 |
children | 6f9e8e142cea |
comparison
equal
deleted
inserted
replaced
44307:c577bb4a04d4 | 44308:5962fd0d1045 |
---|---|
930 if repository.NARROW_REQUIREMENT in requirements: | 930 if repository.NARROW_REQUIREMENT in requirements: |
931 options[b'enableellipsis'] = True | 931 options[b'enableellipsis'] = True |
932 | 932 |
933 if ui.configbool(b'experimental', b'rust.index'): | 933 if ui.configbool(b'experimental', b'rust.index'): |
934 options[b'rust.index'] = True | 934 options[b'rust.index'] = True |
935 if ui.configbool(b'experimental', b'exp-persistent-nodemap'): | |
936 options[b'exp-persistent-nodemap'] = True | |
935 | 937 |
936 return options | 938 return options |
937 | 939 |
938 | 940 |
939 def makemain(**kwargs): | 941 def makemain(**kwargs): |