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

login
register
mail settings
Submitter phabricator
Date April 16, 2020, 5:14 p.m.
Message ID <d0f2face3dd6304b5379910b3b23bd18@localhost.localdomain>
Download mbox | patch
Permalink /patch/46174/
State Not Applicable
Headers show

Comments

phabricator - April 16, 2020, 5:14 p.m.
marmoute updated this revision to Diff 21147.

REPOSITORY
  rHG Mercurial

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

BRANCH
  default

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
Cc: 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")