stablerangecache: use self instead of repo in stablerangerepo.stablerange()
Referring to repo here was somehow preventing it from being garbage-collected
(important in hgweb, where currently every request gets a new repo).
--- a/hgext3rd/evolve/stablerangecache.py Fri Apr 06 14:26:24 2018 +0800
+++ b/hgext3rd/evolve/stablerangecache.py Fri Apr 06 14:36:36 2018 +0800
@@ -353,8 +353,8 @@
@localrepo.unfilteredpropertycache
def stablerange(self):
- cache = mergepointsql(repo)
- cache.update(repo)
+ cache = mergepointsql(self)
+ cache.update(self)
return cache
@localrepo.unfilteredmethod