Submitter | phabricator |
---|---|
Date | Dec. 2, 2019, 9:55 p.m. |
Message ID | <08d3d7553aa238f3fc2a19554182743c@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/43571/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/pvec.py b/mercurial/pvec.py --- a/mercurial/pvec.py +++ b/mercurial/pvec.py @@ -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: