Mercurial > evolve
changeset 3344:4d054737a79c
stablerange: have a mergepoint based sql backed class
Everything is so generic that getting a class is 3 line of codes.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 18 Dec 2017 02:17:29 +0100 |
parents | 86a03229d32d |
children | 72b1f300800f |
files | hgext3rd/evolve/stablerangecache.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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