views:

149

answers:

5

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  A: 

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

file:///C:/repositories/repository

SVN repository paths have to be URIs.

Martinho Fernandes
Ah, many thanks. :)
Chris
+1  A: 

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

Philip Rieck
A: 

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"

ראובן
A: 

Try:

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

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

sunny256
A: 

try

file://c:/repositories/repository

demoncodemonkey