나는 저장소에 수출을 할 수 파이썬 SVN 바인딩 (pysvn)를 사용하려고 시도하고 다음과 같은 오류가 발생하고있다 :하고, 그러나pysvn을 사용하여 SVN 내보내기를 시도하는 중에이 오류를 어떻게 해결합니까?
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)
:
python: subversion/libsvn_subr/dirent_uri.c:955: svn_dirent_join: Assertion `svn_dirent_is_canonical(base, pool)' failed.
Aborted (core dumped)
예제 코드입니다 셸 프롬프트에서 svn export --force https://svn.mycompany.com/myproject/trunk/
이 문제없이 작동합니다.
내가 사용 :
- 파이썬 2.7.3을
- 서브 버전 1.7.5
- 에 CentOS 6.0 64
모든 아이디어, 제발?
? Subversion/libsvn_subr/dirent_uri.c : 955 라인은 assert입니다 (svn_dirent_is_canonical (base, pool)); 그래서 문제는 경로 형식입니다. –