mercurial/logexchange.py
changeset 37365 1ccd75027abb
parent 36059 62a428bf6359
child 37639 0e50dda7e9c1
--- a/mercurial/logexchange.py	Thu Apr 05 16:46:34 2018 +0530
+++ b/mercurial/logexchange.py	Thu Apr 05 16:54:56 2018 +0530
@@ -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