Mercurial > public > mercurial-scm > hg
diff hgext/mq.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 | fa88170c10bb |
children | 19178aeb9b43 |
line wrap: on
line diff
--- a/hgext/mq.py Tue Oct 16 08:20:03 2018 +0200 +++ b/hgext/mq.py Tue Oct 16 08:29:24 2018 +0200 @@ -3511,9 +3511,9 @@ def invalidateall(self): super(mqrepo, self).invalidateall() - if localrepo.hasunfilteredcache(self, 'mq'): + if localrepo.hasunfilteredcache(self, r'mq'): # recreate mq in case queue path was changed - delattr(self.unfiltered(), 'mq') + delattr(self.unfiltered(), r'mq') def abortifwdirpatched(self, errmsg, force=False): if self.mq.applied and self.mq.checkapplied and not force: