Python SVN バインディング (pysvn) を使用してリポジトリでエクスポートしようとすると、次のエラーが発生します。
python: subversion/libsvn_subr/dirent_uri.c:955: svn_dirent_join: Assertion `svn_dirent_is_canonical(base, pool)' failed.
Aborted (core dumped)
コード例は次のとおりです。
import pysvn
client = pysvn.Client()
uri = 'https://svn.mycompany.com/myproject/trunk/'
# This works fine
print client.list(uri)
# This crashes with the above error
r = client.export(uri, './temp', force=True)
ただし、svn export --force https://svn.mycompany.com/myproject/trunk/
シェル プロンプトから実行すると問題なく動作します。
私は使用しています:
- パイソン 2.7.3
- サブバージョン 1.7.5
- CentOS 6.0 x64
何かアイデアはありますか?