Mercurial > evolve
changeset 2287:18b8dc058f75 stable
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.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 27 Apr 2017 20:52:09 +0200 |
parents | 1b6d4d176145 |
children | e719645cf743 e9b28f10b51c 65b4a8c40fad |
files | README hgext3rd/evolve/obsdiscovery.py hgext3rd/evolve/stablerange.py |
diffstat | 3 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)