Преглед изворни кода

Fix porcelain.clone() on Python3.

Jelmer Vernooij пре 8 година
родитељ
комит
eadd3521b0
1 измењених фајлова са 1 додато и 1 уклоњено
  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(