Browse Source

Fix porcelain.clone() on Python3.

Jelmer Vernooij 8 years ago
parent
commit
eadd3521b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dulwich/porcelain.py

+ 1 - 1
dulwich/porcelain.py

@@ -266,7 +266,7 @@ def clone(source, target=None, bare=False, checkout=None,
     else:
         r = Repo.init(target)
     try:
-        remote_refs = client.fetch(host_path, r,
+        remote_refs = client.fetch(encode_path(host_path), r,
             determine_wants=r.object_store.determine_wants_all,
             progress=errstream.write)
         r.refs.import_refs(