stablerange: have a mergepoint based sql backed class
Everything is so generic that getting a class is 3 line of codes.
--- 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