Mercurial > public > mercurial-scm > hg-stable
diff mercurial/pvec.py @ 43811:29adf0a087a1
merge with stable
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 05 Dec 2019 11:15:19 -0500 |
parents | 8e89b6e1e0cd 10662ac7849e |
children | a89aa2d7b34d |
line wrap: on
line diff
--- a/mercurial/pvec.py Tue Dec 03 17:17:57 2019 -0800 +++ b/mercurial/pvec.py Thu Dec 05 11:15:19 2019 -0500 @@ -183,7 +183,7 @@ class pvec(object): def __init__(self, hashorctx): - if isinstance(hashorctx, str): + if isinstance(hashorctx, bytes): self._bs = hashorctx self._depth, self._vec = _split(util.b85decode(hashorctx)) else: