stablerange: have a mergepoint based sql backed class
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 18 Dec 2017 02:17:29 +0100
changeset 3344 4d054737a79c
parent 3343 86a03229d32d
child 3345 72b1f300800f
stablerange: have a mergepoint based sql backed class Everything is so generic that getting a class is 3 line of codes.
hgext3rd/evolve/stablerangecache.py
--- a/hgext3rd/evolve/stablerangecache.py	Mon Dec 18 02:11:34 2017 +0100
+++ b/hgext3rd/evolve/stablerangecache.py	Mon Dec 18 02:17:29 2017 +0100
@@ -272,6 +272,11 @@
     def save(self, repo):
         self._save(repo)
 
+class mergepointsql(stablerangesql, stablerange.stablerange_mergepoint):
+
+    _schemaversion = 2
+    _cachefile = 'cache/evoext_stablerange_v2.sqlite'
+
 class sqlstablerange(stablerangesqlbase, stablerange.stablerange):
 
     _schemaversion = 1