author | Matt Harbison <matt_harbison@yahoo.com> |
Sat, 30 Nov 2019 03:15:17 -0500 | |
branch | stable |
changeset 43746 | 10662ac7849e |
parent 43745 | 24d0189238f1 |
child 43747 | 5470e63686ca |
mercurial/pvec.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/pvec.py Sat Nov 30 03:02:53 2019 -0500 +++ b/mercurial/pvec.py Sat Nov 30 03:15:17 2019 -0500 @@ -182,7 +182,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: