stablerange: update the filename to avoid cache confusion
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 09 Dec 2017 17:14:53 +0100
changeset 3244 d5a7edd5d008
parent 3243 556316fe4b4f
child 3245 63d58f7db120
stablerange: update the filename to avoid cache confusion The schema validation seems to not work as well as intended, we update the file name to make sure there will be no confusion.
hgext3rd/evolve/stablerange.py
--- a/hgext3rd/evolve/stablerange.py	Thu Nov 23 16:34:50 2017 +0100
+++ b/hgext3rd/evolve/stablerange.py	Sat Dec 09 17:14:53 2017 +0100
@@ -553,7 +553,7 @@
                                     2000)
         super(sqlstablerange, self).__init__(lrusize=lrusize)
         self._vfs = repo.vfs
-        self._path = repo.vfs.join('cache/evoext_stablerange_v0.sqlite')
+        self._path = repo.vfs.join('cache/evoext_stablerange_v1.sqlite')
         self._cl = repo.unfiltered().changelog # (okay to keep an old one)
         self._ondisktiprev = None
         self._ondisktipnode = None