开发者

Moving from one subversion repository to multiple repostories

Running on Windows I have a repository for a project, I would now like to put a completely unrelated project under source control within its own repository. I've read the various debates about using one repository per project or having all开发者_Python百科 projects in one repository and for me I definitently prefer the one reposistory per project option but Im unsure how to do it.

My setup is very simple, Im the only user and the repository is on the same machine as it is checked out to, and I use svnserve from CollabNet

My repository is top level so my checkout code points to svn://localhost and my repository looks like this

C:\Repository C:\Repository\conf C:\Repository\db C:\Repository\hooks c:\Repository\logs

How do I get svnserve to serve multiple repostories ?


The best documentation for svnserve is not the SVN documentation, IMO, but the TortoiseSVN one. Read http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html.

You'll have to create another repository next to the first one and set the root directory to the parent directory of the two repositories.

You'll also have to relocate your existing working copies.


You can provide the --root flag a directory where all your repositories are located at.

You can read about it here: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜