Hi folks,
I use svn and bzr a lot, and while tracking down a bug in bzr-svn, I believe
I've found a bug in the python bindings for svn.
The original bzr-svn bug is found here:
https://bugs.launchpad.net/bzr-svn/+bug/185401
However, as mentioned in that bug's log, I can reproduce this problem with
plain SVN and it's python bindings, no bzr involved at all.
$ cd /tmp
$ tar -xzvf bzr-svn-185401.tar.gz
$ cd bzr-svn-185401
$ python
Python 2.4.4 (#2, Jan 3 2008, 13:36:28)
[GCC 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import svn.wc
>>> svn.wc.revision_status("/tmp/bzr-svn-185401/svn-wc", None, True, None,
None)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/var/lib/python-support/python2.4/libsvn/wc.py", line 1577, in
svn_wc_revision_status
return apply(_wc.svn_wc_revision_status, args)
libsvn._core.SubversionException: ("Can't convert string from native encoding
to 'UTF-8':", 22)
>>> svn.wc.revision_status("/tmp/bzr-svn-185401/svn-wc", None, True, None,
None)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/var/lib/python-support/python2.4/libsvn/wc.py", line 1577, in
svn_wc_revision_status
return apply(_wc.svn_wc_revision_status, args)
libsvn._core.SubversionException: ("Can't convert string from native encoding
to 'UTF-8':", 22)
>>>
I've attached the bzr-svn-185401.tar.gz package that just contains a simple
repository and working copy with just two commits of a file and a directory
with a "²" character in their name.
--
Wesley J. Landaker <wjl_at_icecavern.net>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-23 19:07:56 CET