changeset 40232:d99a588d8515

py3: pass in system string to vars(branchmap).__contains__()
author Yuya Nishihara <yuya@tcha.org>
date Sat, 13 Oct 2018 10:58:06 +0200
parents 58d785679e15
children 6309128ff61f
files mercurial/branchmap.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/branchmap.py	Sat Oct 13 08:48:59 2018 +0000
+++ b/mercurial/branchmap.py	Sat Oct 13 10:58:06 2018 +0200
@@ -480,7 +480,7 @@
         #   self.branchinfo = self._branchinfo
         #
         # Since we now have data in the cache, we need to drop this bypassing.
-        if 'branchinfo' in vars(self):
+        if r'branchinfo' in vars(self):
             del self.branchinfo
 
     def _setcachedata(self, rev, node, branchidx):