aboutsummaryrefslogtreecommitdiff
path: root/contrib/remote-helpers/git-remote-bzr
diff options
context:
space:
mode:
authorTimotheus Pokorra <timotheus.pokorra@gmail.com>2013-04-05 21:49:22 -0600
committerJunio C Hamano <gitster@pobox.com>2013-04-07 00:39:27 -0700
commit5445b24e22eea96995f4015e4dadb120ff277c1e (patch)
treebf0ac7f6bbf10b301f5cd732f0dffd952f4670f6 /contrib/remote-helpers/git-remote-bzr
parent8954441ac7468cf3659f70747d390ed7c9f070d5 (diff)
downloadgit-5445b24e22eea96995f4015e4dadb120ff277c1e.tar.gz
git-5445b24e22eea96995f4015e4dadb120ff277c1e.tar.xz
remote-bzr: add utf-8 support for fetching
[fc: added tests] Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/remote-helpers/git-remote-bzr')
-rwxr-xr-xcontrib/remote-helpers/git-remote-bzr4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr
index 0bcf8c583..0bd0759d7 100755
--- a/contrib/remote-helpers/git-remote-bzr
+++ b/contrib/remote-helpers/git-remote-bzr
@@ -223,7 +223,7 @@ def export_files(tree, files):
# is the blog already exported?
if h in filenodes:
mark = filenodes[h]
- final.append((mode, mark, path))
+ final.append((mode, mark, path.encode('utf-8')))
continue
d = tree.get_file_text(fid)
@@ -240,7 +240,7 @@ def export_files(tree, files):
print "data %d" % len(d)
print d
- final.append((mode, mark, path))
+ final.append((mode, mark, path.encode('utf-8')))
return final