You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Bohlman <MB...@TCICREDIT.COM> on 2003/06/27 22:06:01 UTC

Question on moving a repository.

Hi,

	I'm running Subversion 24.2 on Windows 2000 Server.  Our sysadmins
recently created a newer (and better) machine for development to use for the
repository, and I need to migrate from the current machine (A) to the new
machine (B).  Connections are currently via svnserve as Apache is not yet
setup (they control the ports as well, and well...)

	Question is how best to handle the change from the developer
perspective.  A scenario would be
1) Code checked out to a working directory /wd via the command "svn co
svn://A/projects"
2) Developers all working in their local directories and in various states
of completion
3) New machine set up and established
4) Was hoping that "svn switch svn://B/projects" would switch the entries in
.svn subdirectories.  This does not seem to work (consumes cycles on both A
server through the svnserve process and on the client machine and never
returns).

	Is there a different/better way to accomplish this physical move of
the repository from one machine name to another, short of having everyone
commit and then grabbing a copy for import?  Or is the better way through DB
utilities such as dump or hot-backup?  Connecting does not seem to be the
problem and I'm looking for a simple solution that does not halt all
development efforts even for a short while.  

	I'm thinking this will not be a problem once set up to go via
http:// <http://>  as I can set that to match, but....

Thanks,
-- Mark

Re: Question on moving a repository.

Posted by mark benedetto king <mb...@lowlatency.com>.
On Fri, Jun 27, 2003 at 06:06:01PM -0400, Mark Bohlman wrote:
> Hi,
> 
> 	I'm running Subversion 24.2 on Windows 2000 Server.  Our sysadmins
> recently created a newer (and better) machine for development to use for the
> repository, and I need to migrate from the current machine (A) to the new
> machine (B).  Connections are currently via svnserve as Apache is not yet
> setup (they control the ports as well, and well...)
> 
> 	Question is how best to handle the change from the developer
> perspective.  A scenario would be
> 1) Code checked out to a working directory /wd via the command "svn co
> svn://A/projects"
> 2) Developers all working in their local directories and in various states
> of completion
> 3) New machine set up and established
> 4) Was hoping that "svn switch svn://B/projects" would switch the entries in
> .svn subdirectories.  This does not seem to work (consumes cycles on both A
> server through the svnserve process and on the client machine and never
> returns).
> 

You should disable all access to both A and B's repositories, effect the
copy, then enable access to B (leave access to A disabled), then users
should:

svn switch --relocate svn://A/ svn://B/

--ben


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org