How can I access a subversion repository using a l

2019-03-17 03:34发布

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条回答
欢心
2楼-- · 2019-03-17 04:10

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"

查看更多
SAY GOODBYE
3楼-- · 2019-03-17 04:12

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

查看更多
爷的心禁止访问
4楼-- · 2019-03-17 04:13

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

file:///C:/repositories/repository

SVN repository paths have to be URIs.

查看更多
迷人小祖宗
5楼-- · 2019-03-17 04:18

try

file://c:/repositories/repository

查看更多
beautiful°
6楼-- · 2019-03-17 04:28

Try:

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

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

查看更多
登录 后发表回答