comparison tests/test-persistent-nodemap.t @ 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 c577bb4a04d4
children 6c07480d6659
comparison
equal deleted inserted replaced
44307:c577bb4a04d4 44308:5962fd0d1045
3 =================================== 3 ===================================
4 4
5 5
6 $ hg init test-repo 6 $ hg init test-repo
7 $ cd test-repo 7 $ cd test-repo
8 $ cat << EOF >> .hg/hgrc
9 > [experimental]
10 > exp-persistent-nodemap=yes
11 > EOF
8 $ hg debugbuilddag .+5000 12 $ hg debugbuilddag .+5000
9 $ hg debugnodemap --dump | f --sha256 --bytes=256 --hexdump --size 13 $ hg debugnodemap --dump | f --sha256 --size
14 size=122880, sha256=b961925120e1c9bc345c199b2cc442abc477029fdece37ef9d99cbe59c0558b7
15 $ f --sha256 --bytes=256 --hexdump --size < .hg/store/00changelog.n
10 size=122880, sha256=b961925120e1c9bc345c199b2cc442abc477029fdece37ef9d99cbe59c0558b7 16 size=122880, sha256=b961925120e1c9bc345c199b2cc442abc477029fdece37ef9d99cbe59c0558b7
11 0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| 17 0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
12 0010: ff ff ff ff ff ff ff ff ff ff fa c2 ff ff ff ff |................| 18 0010: ff ff ff ff ff ff ff ff ff ff fa c2 ff ff ff ff |................|
13 0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| 19 0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
14 0030: ff ff ff ff ff ff ed b3 ff ff ff ff ff ff ff ff |................| 20 0030: ff ff ff ff ff ff ed b3 ff ff ff ff ff ff ff ff |................|