repo: properly progate "destroyed" call to super class stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 27 Apr 2017 20:52:09 +0200
branchstable
changeset 2287 18b8dc058f75
parent 2284 1b6d4d176145
child 2291 e719645cf743
child 2310 e9b28f10b51c
child 2313 65b4a8c40fad
repo: properly progate "destroyed" call to super class The propagation of the 'destroyed' call was dropped. I'm not certain of the consequences of having a partially broken "destroyed" call, but this can't be good.
README
hgext3rd/evolve/obsdiscovery.py
hgext3rd/evolve/stablerange.py
--- a/README	Thu Apr 20 13:04:31 2017 +0200
+++ b/README	Thu Apr 27 20:52:09 2017 +0200
@@ -113,6 +113,11 @@
 =========
 
 
+6.0.2 - in progress
+-------------------
+
+ - fix the propagation of some some cache invalidation,
+
 6.0.1 -- 2017-04-20
 -------------------
 
--- a/hgext3rd/evolve/obsdiscovery.py	Thu Apr 20 13:04:31 2017 +0200
+++ b/hgext3rd/evolve/obsdiscovery.py	Thu Apr 27 20:52:09 2017 +0200
@@ -551,6 +551,7 @@
         def destroyed(self):
             if 'stablerange' in vars(self):
                 del self.stablerange
+            super(obshashrepo, self).destroyed()
 
     repo.__class__ = obshashrepo
 
--- a/hgext3rd/evolve/stablerange.py	Thu Apr 20 13:04:31 2017 +0200
+++ b/hgext3rd/evolve/stablerange.py	Thu Apr 27 20:52:09 2017 +0200
@@ -886,6 +886,7 @@
         def destroyed(self):
             if 'stablerange' in vars(self):
                 del self.stablerange
+            super(stablerangerepo, self).destroyed()
 
         def transaction(self, *args, **kwargs):
             tr = super(stablerangerepo, self).transaction(*args, **kwargs)