I was not able to go through the test case given in the bug, as I was not able to paste the unicode string into the console. So I created a branch on linux, and pulled it. The results were not good.
C:\Users\Gary\test>bzr pull sftp://garyvdm@192.168.1.152/home/garyvdm/test_unicode
Connected (version 2.0, client OpenSSH_5.3p1)
Authentication (publickey) failed.
SSH garyvdm@192.168.1.152 password:
Authentication (password) successful!
Secsh channel 1 opened.
[chan 1] Opened sftp connection (server version 3)
+N ????/
All changes applied successfully.
Now on revision 1.
C:\Users\Gary\test>bzr log
------------------------------------------------------------
revno: 1
committer: Gary van der Merwe <email address hidden>
branch nick: test_unicode
timestamp: Tue 2010-09-07 21:05:39 +0200
message:
????
C:\Users\Gary\test>bzr ls
bzr: ERROR: exceptions.UnicodeEncodeError: 'charmap' codec can't encode characte
rs in position 0-3: character maps to <undefined>
Traceback (most recent call last):
File "bzrlib\commands.pyo", line 912, in exception_to_return_code
File "bzrlib\commands.pyo", line 1112, in run_bzr
File "bzrlib\commands.pyo", line 690, in run_argv_aliases
File "bzrlib\commands.pyo", line 705, in run
File "bzrlib\cleanup.pyo", line 135, in run_simple
File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
File "bzrlib\commands.pyo", line 1127, in ignore_pipe
File "bzrlib\builtins.pyo", line 2613, in run
File "bzrlib\ui\text.pyo", line 538, in write
File "codecs.pyo", line 351, in write
File "encodings\cp437.pyo", line 12, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-3: cha
racter maps to <undefined>
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
I don't know if I'm ment to configure anything to make this work. I also guess that the ls error is maybe a different bug.
I built a installer based on this branch: http:// dl.dropbox. com/u/4494367/ bzr-2.2. 0-setup. exe
I was not able to go through the test case given in the bug, as I was not able to paste the unicode string into the console. So I created a branch on linux, and pulled it. The results were not good.
C:\Users\ Gary\test> bzr pull sftp:// garyvdm@ 192.168. 1.152/home/ garyvdm/ test_unicode 192.168. 1.152 password:
Connected (version 2.0, client OpenSSH_5.3p1)
Authentication (publickey) failed.
SSH garyvdm@
Authentication (password) successful!
Secsh channel 1 opened.
[chan 1] Opened sftp connection (server version 3)
+N ????/
All changes applied successfully.
Now on revision 1.
C:\Users\ Gary\test> bzr log ------- ------- ------- ------- ------- ------- ------- ----
-------
revno: 1
committer: Gary van der Merwe <email address hidden>
branch nick: test_unicode
timestamp: Tue 2010-09-07 21:05:39 +0200
message:
????
C:\Users\ Gary\test> bzr ls UnicodeEncodeEr ror: 'charmap' codec can't encode characte
bzr: ERROR: exceptions.
rs in position 0-3: character maps to <undefined>
Traceback (most recent call last): commands. pyo", line 912, in exception_ to_return_ code commands. pyo", line 1112, in run_bzr commands. pyo", line 690, in run_argv_aliases commands. pyo", line 705, in run cleanup. pyo", line 135, in run_simple cleanup. pyo", line 165, in _do_with_cleanups commands. pyo", line 1127, in ignore_pipe builtins. pyo", line 2613, in run ui\text. pyo", line 538, in write cp437.pyo" , line 12, in encode
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "codecs.pyo", line 351, in write
File "encodings\
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-3: cha
racter maps to <undefined>
bzr 2.2.0 on python 2.6.4 (Windows- post2008Server- 6.1.7600) plugins\ bzrtools [2.2.0] plugins\ colo [0.1.0] plugins\ explorer [1.1b1] plugins\ fastimport [0.9.0dev] plugins\ launchpad [2.2.0] plugins\ loom [2.2.1dev] credential_ store C:\Program Files\Bazaar\ plugins\ netrc_credentia l_store plugins\ news_merge [2.2.0] plugins\ pipeline [unknown] plugins\ qbzr [0.19.0] plugins\ rewrite [0.6.0] plugins\ svn [1.0.3] plugins\ upload [1.0.0dev] plugins\ xmloutput [0.8.6]
arguments: ['bzr', 'ls']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
colo C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
fastimport C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
loom C:\Program Files\Bazaar\
netrc_
[2.2.0]
news_merge C:\Program Files\Bazaar\
pipeline C:\Program Files\Bazaar\
qbzr C:\Program Files\Bazaar\
rewrite C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error. This probably indicates a /bugs.launchpad .net/bzr/ +filebug
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
I don't know if I'm ment to configure anything to make this work. I also guess that the ls error is maybe a different bug.