evolve: fixing obscache invalidation
This was missing a call to the parent's destroyed(), such that any transaction
after stripping some nodes would result in a crash (by attempting to read nodes
which were stripped).
--- a/README Wed May 10 14:46:01 2017 +0200
+++ b/README Tue May 16 23:37:10 2017 -0700
@@ -118,6 +118,7 @@
- also enable the new cache (from 6.1.0) for 'evolve.server-only',
- fix hg stack json output to be valid json
- stack: now display if current revision is in bad state (issue5533)
+ - obscache: fix more cache invalidation propagation
6.1.0 -- 2017-05-03
-------------------
--- a/hgext3rd/evolve/obscache.py Wed May 10 14:46:01 2017 +0200
+++ b/hgext3rd/evolve/obscache.py Tue May 16 23:37:10 2017 -0700
@@ -381,6 +381,7 @@
def destroyed(self):
if 'obsstore' in vars(self):
self.obsstore.obscache.clear()
+ super(obscacherepo, self).destroyed()
def transaction(self, *args, **kwargs):
tr = super(obscacherepo, self).transaction(*args, **kwargs)