浏览代码

Revert "Fix porcelain.clone() on Python3."

This reverts commit eadd3521b0ebd01a01e28e40ea6332cc1ce35bef.
Jelmer Vernooij 8 年之前
父节点
当前提交
85417ce83a
共有 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(encode_path(host_path), r,
+        remote_refs = client.fetch(host_path, r,
             determine_wants=r.object_store.determine_wants_all,
             progress=errstream.write)
         r.refs.import_refs(