pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REVISION SUMMARY We deal internally with bytes, so we should check whether the remote is a bytes or not. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3126 AFFECTED FILES mercurial/logexchange.py CHANGE DETAILS diff --git a/mercurial/logexchange.py b/mercurial/logexchange.py --- a/mercurial/logexchange.py +++ b/mercurial/logexchange.py @@ -106,7 +106,7 @@ rpath = remote if local: rpath = remote._repo.root - elif not isinstance(remote, str): + elif not isinstance(remote, bytes): rpath = remote._url # represent the remotepath with user defined path name if exists To: pulkit, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel