开发者

Using sharpsvn with a local repository

I'm using sharpsvn dlls for .NET. I'm new to using subversion, and I'd like my repository to be on a filesystem and not on a remote server.

Is it possible to use sharpsvn like this? I mean, have it checking out from c:\somewhere to c:\som开发者_如何转开发ewhere-else?


You can create a local SVN repos. I don't know exactly how the sharpsvn library works, but this is how you can do it with the command line svn client.

C:\>mkdir svntest
C:\>cd svntest
C:\svntest>svnadmin create testRepos
C:\svntest>mkdir checkoutDir
C:\svntest>svn co file:///C:/svntest/testRepos checkoutDir
Checkade ut revision 0.
C:\svntest>

To use from sharpsvn, use the file:/// syntax.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜