Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I access a subversion repository using a local path in Windows?

I have CollabNet Subversion server and client installed, running off of Apache that came with it. From the command line on the server, I can easily access the repository using a path like

http://server:port/svn/repository 

but I can't access it using its actual location on the disk, like

c:\repositories\repository 

I just get "[path] is not a working copy." What am I misunderstanding?

like image 774
Chris Avatar asked Aug 04 '09 14:08

Chris


People also ask

How do I access local svn repository?

You can either store your repositories locally and access them using the file:// protocol or you can place them on a server and access them with the http:// or svn:// protocols. The two server protocols can also be encrypted. You use https:// or svn+ssh:// , or you can use svn:// with SASL.


2 Answers

Common mistake. You have to use the file:// pseudo-protocol like this:

file:///C:/repositories/repository 

SVN repository paths have to be URIs.

like image 131
R. Martinho Fernandes Avatar answered Sep 22 '22 02:09

R. Martinho Fernandes


Try:

svn checkout "file:///C|/repositories/repository" 

and see if you can see the files inside the repo.

like image 33
sunny256 Avatar answered Sep 24 '22 02:09

sunny256