# HG changeset patch # User Pierre-Yves David # Date 1493734143 -7200 # Node ID 54b2fddbc2f584713cc6c3913549c3f35be5bddf # Parent 01efebff13ece0cef63c9690e9f199aa4fce4cb5 obscache: load the disk data before checking is the cache is up to date This is actually required since non-loaded cache will never be up to date... diff -r 01efebff13ec -r 54b2fddbc2f5 hgext3rd/evolve/obscache.py --- a/hgext3rd/evolve/obscache.py Tue May 02 02:13:33 2017 +0200 +++ b/hgext3rd/evolve/obscache.py Tue May 02 16:09:03 2017 +0200 @@ -212,6 +212,8 @@ self._data = bytearray() def uptodate(self, repo): + if self._cachekey is None: + self.load(repo) valid, startrev, startidx = upgradeneeded(repo, self._cachekey) return (valid and startrev is None and startidx is None)