Reputation: 30594
When I expand below URL
file:///D:/dev/admin/subversion/dev707/hello-android
in Android Studio (1.1.0) I get following error
svn: E180001: Unable to open an ra_local session to URL
Though, I can browse the same URL using TortoiseSVN 1.8.11 and Eclipse 4.4.2.
Please explain how to access SVN repo in Android Studio using file protocol.
Upvotes: 0
Views: 581
Reputation: 30662
You'd better install Subversion server instead of accessing a repository via file://
access scheme. When accessing a repository via HTTP(S) or svnserve it does not matter what repository format version is.
Moreover, when you access the repository via file://
, you access it directly on disk. Therefore there is no authentication and authorization, no hook scripts work, you can't make the repository available for other developers, etc.
Upvotes: 1
Reputation: 30594
The solution is to create backward compatible SVN repo using new Tortoise SVN:-
Create backward compatible SVN repository using below command with Tortoise SVN 1.8.11.
svnadmin create --compatible-version 1.7 studio
Now, add SVN URL to Android Studio, you will be able to access the SVN content.
Upvotes: 1