Patchwork D1892: bundlerepo: use native str when peeking in __dict__

login
register
mail settings
Submitter phabricator
Date Feb. 1, 2018, 8:05 p.m.
Message ID <c67f1e139d109e06c354990d355f1c42@localhost.localdomain>
Download mbox | patch
Permalink /patch/27109/
State Not Applicable
Headers show

Comments

phabricator - Feb. 1, 2018, 8:05 p.m.
durin42 updated this revision to Diff 5042.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1892?vs=4882&id=5042

REVISION DETAIL
  https://phab.mercurial-scm.org/D1892

AFFECTED FILES
  mercurial/bundlerepo.py

CHANGE DETAILS




To: durin42, #hg-reviewers, pulkit
Cc: pulkit, mercurial-devel

Patch

diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py
+++ b/mercurial/bundlerepo.py
@@ -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