bundlerepo: use native str when peeking in __dict__
authorAugie Fackler <augie@google.com>
Wed, 17 Jan 2018 21:42:56 -0500
changeset 35833 87b085a4f9d1
parent 35832 aad39713ef35
child 35834 f61461d2bfd8
bundlerepo: use native str when peeking in __dict__ # skip-blame since it's just a string constant prefix Differential Revision: https://phab.mercurial-scm.org/D1892
mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py	Wed Jan 17 20:41:51 2018 -0500
+++ b/mercurial/bundlerepo.py	Wed Jan 17 21:42:56 2018 -0500
@@ -402,7 +402,7 @@
         # manifestlog implementation did not consume the manifests from the
         # changegroup (ex: it might be consuming trees from a separate bundle2
         # part instead). So we need to manually consume it.
-        if 'filestart' not in self.__dict__:
+        if r'filestart' not in self.__dict__:
             self._consumemanifest()
 
         return self.filestart