diff options
author | Christophe Simonis <christophe@kn.gl> | 2013-04-08 13:36:38 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-08 14:09:31 -0700 |
commit | 5ff4fc649e18c02bc475ec5785a985ac5f6e0688 (patch) | |
tree | b31c05a4e526c570790e816d1a77d826f00c372d /contrib/remote-helpers/test-bzr.sh | |
parent | 0290bf1250533442aa870d303e56745388d562c2 (diff) | |
download | git-5ff4fc649e18c02bc475ec5785a985ac5f6e0688.tar.gz git-5ff4fc649e18c02bc475ec5785a985ac5f6e0688.tar.xz |
remote-bzr: fix utf-8 support for fetching
The previous patches didn't deal with all the scenarios.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/remote-helpers/test-bzr.sh')
-rwxr-xr-x | contrib/remote-helpers/test-bzr.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/remote-helpers/test-bzr.sh b/contrib/remote-helpers/test-bzr.sh index f4c77681d..e800c97fc 100755 --- a/contrib/remote-helpers/test-bzr.sh +++ b/contrib/remote-helpers/test-bzr.sh @@ -177,6 +177,13 @@ test_expect_success 'fetch utf-8 filenames' ' echo test >> "áéíóú" && bzr add "áéíóú" && + echo test >> "îø∫∆" && + bzr add "îø∫∆" && + bzr commit -m utf-8 && + echo test >> "áéíóú" && + bzr commit -m utf-8 && + bzr rm "îø∫∆" && + bzr mv "áéíóú" "åß∂" && bzr commit -m utf-8 ) && @@ -186,7 +193,7 @@ test_expect_success 'fetch utf-8 filenames' ' git ls-files > ../actual ) && - echo "\"\\303\\241\\303\\251\\303\\255\\303\\263\\303\\272\"" > expected && + echo "\"\\303\\245\\303\\237\\342\\210\\202\"" > expected && test_cmp expected actual ' |