Mercurial > hg
diff mercurial/localrepo.py @ 40360:dee73a97e132
py3: invalidate repository cache with system-string keys
# skip-blame just a few r'' prefixes
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 16 Oct 2018 08:29:24 +0200 |
parents | a2ebdca4d10e |
children | 7e3b6c4f01a2 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Tue Oct 16 08:20:03 2018 +0200 +++ b/mercurial/localrepo.py Tue Oct 16 08:29:24 2018 +0200 @@ -2047,9 +2047,9 @@ def invalidatecaches(self): - if '_tagscache' in vars(self): + if r'_tagscache' in vars(self): # can't use delattr on proxy - del self.__dict__['_tagscache'] + del self.__dict__[r'_tagscache'] self.unfiltered()._branchcaches.clear() self.invalidatevolatilesets()