Patchwork [09,of,10,V2] cext: increment the `parsers` module version

login
register
mail settings
Submitter Boris Feld
Date Nov. 15, 2018, 10:38 a.m.
Message ID <2e4071c2d69873431c32.1542278327@localhost.localdomain>
Download mbox | patch
Permalink /patch/36600/
State Accepted
Headers show

Comments

Boris Feld - Nov. 15, 2018, 10:38 a.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1542276652 -3600
#      Thu Nov 15 11:10:52 2018 +0100
# Node ID 2e4071c2d69873431c32d71e8e82661e641dc821
# Parent  465af090febebc1c8ca8e402c279349ccd09e091
# EXP-Topic sparse-perf
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 2e4071c2d698
cext: increment the `parsers` module version

We introduced a new `slicechunktodensity` method to the index.

Patch

diff --git a/mercurial/cext/parsers.c b/mercurial/cext/parsers.c
--- a/mercurial/cext/parsers.c
+++ b/mercurial/cext/parsers.c
@@ -713,7 +713,7 @@  void dirs_module_init(PyObject *mod);
 void manifest_module_init(PyObject *mod);
 void revlog_module_init(PyObject *mod);
 
-static const int version = 11;
+static const int version = 12;
 
 static void module_init(PyObject *mod)
 {
diff --git a/mercurial/policy.py b/mercurial/policy.py
--- a/mercurial/policy.py
+++ b/mercurial/policy.py
@@ -69,7 +69,7 @@  def _importfrom(pkgname, modname):
     (r'cext', r'bdiff'): 3,
     (r'cext', r'mpatch'): 1,
     (r'cext', r'osutil'): 4,
-    (r'cext', r'parsers'): 11,
+    (r'cext', r'parsers'): 12,
 }
 
 # map import request to other package or module