I'm using svn and svnadmin of v1.6.13.
[root@ns ~]# pwd
/root
[root@ns ~]# svn --version
svn, version 1.6.13 (r1002816)
compiled Oct 11 2010, 08:18:53
[root@ns ~]# svnadmin --version
svnadmin, version 1.6.13 (r1002816)
compiled Oct 11 2010, 08:18:53
I created a local repository
[root@ns ~]# svnadmin create svn_repo
then I checked out this repo
[root@ns ~]# svn co file://192.168.xxx.xxx/root/svn_repo
svn: Unable to open an ra_local session to URL
svn: Local URL 'file://192.168.xxx.xxx/root/svn_repo' contains unsupported hostname
There is no version issue because both version are the same.
Websvn is not needed, and command line is just enough for me.
How to fix it?
Read the docs about proper defining URL with file
protocol!!!
SVN URL has the following format: (protocol)://(servername)/(path)
file:///(path_on_local)
. That is, SVN URL contains 3 slashes one after another.file:///root/svn_repo