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

Viewed 42941

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?

5 Answers

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

file:///C:/repositories/repository

SVN repository paths have to be URIs.

Try:

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

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

You should be able to use file:///c:\repositories\repository to access a repository via path.

Usually "not a working copy" means that there's no .svn "magic subdirectory" there.

You need to do a "checkout" to get a working copy, and not just an "export"

Related