Patchwork D8416: nodemap: move on disk file to version 1

login
register
mail settings
Submitter phabricator
Date May 7, 2020, 3:34 p.m.
Message ID <da06735e71b660171c77c710f99de6ee@localhost.localdomain>
Download mbox | patch
Permalink /patch/46271/
State Not Applicable
Headers show

Comments

phabricator - May 7, 2020, 3:34 p.m.
Closed by commit rHG261e71752d1f: nodemap: move on disk file to version 1 (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8416?vs=21147&id=21292

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8416/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8416

AFFECTED FILES
  mercurial/revlogutils/nodemap.py

CHANGE DETAILS




To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches, durin42, mercurial-devel

Patch

diff --git a/mercurial/revlogutils/nodemap.py b/mercurial/revlogutils/nodemap.py
--- a/mercurial/revlogutils/nodemap.py
+++ b/mercurial/revlogutils/nodemap.py
@@ -267,8 +267,7 @@ 
 # data. Its content is currently very light, but it will expand as the on disk
 # nodemap gains the necessary features to be used in production.
 
-# version 0 is experimental, no BC garantee, do no use outside of tests.
-ONDISK_VERSION = 0
+ONDISK_VERSION = 1
 S_VERSION = struct.Struct(">B")
 S_HEADER = struct.Struct(">BQQQQ")