my problem is that the recent SVN URL points direktly to the repository "repo1" and not to the svn server root directory:
svn://svnhost:3690 ===> "/svnroot/repo1/"
But now I have a second repository ("repo2"):
/svnroot/repo1(/www/final_trunk) /svnroot/repo2
How can I tell the svn server to point to the root directory "/svnroot"?
And w开发者_运维知识库hat do I need to do to not again checkout out the whole repository just because of the new URL?
Thx for your help.
update your server to use the new directory (however you have it configured, if svnserve, look to the .conf file)
To update your working copy to point to the new repo.. it's tricky becuase you've changed the repository contents, but look into svn switch with or without the relocate option to update your WC to correctly reference the repo.
In my setup I use svn behind Apache, and assign svn directories (given by SVNPath
and SVNParentPath
) to URLs using <Location>
tag.
Further reading: svnbook - httpd, the Apache HTTP Server
精彩评论