# HG changeset patch # User Rodrigo Damazio Bovendorp # Date 1495003030 25200 # Node ID 3be45918c7b5515a2fe85e14a29e269d5719f7bf # Parent 5737e0680f10044a2f3189fdc4f33762046c8e7f 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). diff -r 5737e0680f10 -r 3be45918c7b5 README --- 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 ------------------- diff -r 5737e0680f10 -r 3be45918c7b5 hgext3rd/evolve/obscache.py --- 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)