mercurial/hg.py
changeset 36049 488e313954ea
parent 36003 fcde8946c553
child 36159 0fe7e39dc683
--- a/mercurial/hg.py	Sun Feb 11 14:29:30 2018 -0800
+++ b/mercurial/hg.py	Sun Feb 11 14:30:44 2018 -0800
@@ -214,7 +214,7 @@
     else:
         dest = ui.expandpath(dest)
 
-    if isinstance(source, str):
+    if isinstance(source, bytes):
         origsource = ui.expandpath(source)
         source, branches = parseurl(origsource)
         srcrepo = repository(ui, source)