Mercurial > hg
changeset 35834:f61461d2bfd8
context: use native string when peeking in __dict__
# skip-blame because we're just adding a prefix on a string constant
Differential Revision: https://phab.mercurial-scm.org/D1893
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 17 Jan 2018 21:43:46 -0500 |
parents | 87b085a4f9d1 |
children | bf367a93f000 |
files | mercurial/context.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Wed Jan 17 21:42:56 2018 -0500 +++ b/mercurial/context.py Wed Jan 17 21:43:46 2018 -0500 @@ -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