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

login
register
mail settings
Submitter Boris Feld
Date Nov. 22, 2018, 6:08 p.m.
Message ID <265d3d6ca9ee82c19fe2.1542910088@localhost.localdomain>
Download mbox | patch
Permalink /patch/36721/
State Accepted
Headers show

Comments

Boris Feld - Nov. 22, 2018, 6:08 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 265d3d6ca9ee82c19fe23a4b3e9ee81c413b7c86
# Parent  606a1aa722602ac9d76e4ae6d0ea54b088b50414
# EXP-Topic sparse-perf
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 265d3d6ca9ee
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