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

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

Comments

phabricator - Feb. 1, 2018, 8:39 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG73183301a1d3: bundlerepo: use native str when peeking in __dict__ (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  mercurial/bundlerepo.py

CHANGE DETAILS




To: durin42, #hg-reviewers, pulkit, indygreg
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