My SVN repository is installed on Linux CentOS at http://myserver.com/svnrepo, and svn --version
on the server gives 1.7.4.
On my local PC I have Windows 7, Python 2.7 (and latest Tortoise SVN).
I just installed PySVN from http://pysvn.tigris.org/servlets/ProjectDocumentList?folderID=1768. I was unsure which version to install, I choose PySVN 1.7.7 for python 2.7 and svn 1.7.8
.
I tried short script, but I get error:
if __name__ == "__main__":
WDIR= "D:/SVN/Project/trunk"
client = pysvn.Client()
entry = client.info2(WDIR)
print entry
Error reported is:
This client is too old to work with the working copy at
'D:\SVN\Project\trunk' (format 31).
You need to get a newer Subversion client.
If I try to ping remote SVN folder - it works:
REPOURL = "https://www.myserver.com/svnrepo/projects/Project/trunk"
client = pysvn.Client()
entry = client.info2(REPOURL)
How do I check which version of svn client does PySVN use?
How do I check which versin is my working copy?
What version of PySVN do I need to install?
The Subversion working copy format changed in Subversion 1.8. Since you are using the latest TortoiseSVN, your working copies must be in this format. To access the working copies that were created or updated by TortoiseSVN, you'll need a version of PySVN (and any other client you use) that is based on Subversion 1.8 or 1.9.