D1893: context: use native string when peeking in __dict__
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Jan 19 20:12:17 UTC 2018
durin42 updated this revision to Diff 4949.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1893?vs=4883&id=4949
REVISION DETAIL
https://phab.mercurial-scm.org/D1893
AFFECTED FILES
mercurial/context.py
CHANGE DETAILS
diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -1051,7 +1051,7 @@
# renamed filectx won't have a filelog yet, so set it
# from the cache to save time
for p in pl:
- if not '_filelog' in p.__dict__:
+ if not r'_filelog' in p.__dict__:
p._filelog = getlog(p.path())
return pl
To: durin42, #hg-reviewers, pulkit
Cc: pulkit, mercurial-devel
More information about the Mercurial-devel
mailing list