Mercurial > public > mercurial-scm > hg-stable
diff mercurial/pvec.py @ 43115:4aa72cdf616f
py3: delete b'' prefix from safehasattr arguments
Differential Revision: https://phab.mercurial-scm.org/D7029
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sun, 06 Oct 2019 20:17:41 -0700 |
parents | 687b865b95ad |
children | 10662ac7849e 271af23d01a9 |
line wrap: on
line diff
--- a/mercurial/pvec.py Tue Oct 08 19:35:30 2019 -0700 +++ b/mercurial/pvec.py Sun Oct 06 20:17:41 2019 -0700 @@ -159,7 +159,7 @@ def ctxpvec(ctx): '''construct a pvec for ctx while filling in the cache''' r = ctx.repo() - if not util.safehasattr(r, b"_pveccache"): + if not util.safehasattr(r, "_pveccache"): r._pveccache = {} pvc = r._pveccache if ctx.rev() not in pvc: