Patchwork [6,of,7,V4] cext: increment the `parsers` module version

login
register
mail settings
Submitter Boris Feld
Date Nov. 20, 2018, 8:44 p.m.
Message ID <efd051e545675f17831c.1542746677@localhost.localdomain>
Download mbox | patch
Permalink /patch/36682/
State Superseded
Headers show

Comments

Boris Feld - Nov. 20, 2018, 8:44 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1542276652 -3600
#      Thu Nov 15 11:10:52 2018 +0100
# Node ID efd051e545675f17831caff694f7b695afe8dc42
# Parent  e2a589e5b850e83bf095f677a217a23bea3c8e7e
# EXP-Topic sparse-perf
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r efd051e54567
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