Subversion Switch Command

Subversion - svn switch

  The svn subcommand switch with --relocate option will replace the Subversion repository prefix for a working copy.  Suppose the server that is hosting the repository has changed.  Now your working copy has an old prefix for the host, and you can't update or commit.

Subversion host moved, and how to update the working copy

To update the host used by a Subversion working copy issue the svn switch --relocate subcommand. Here are two examples:

svn switch --relocate http://oldhost/svn/ http://newhost/living-room-subversion/

svn switch --relocate http://192.168.15.10/subversion/owner/trunk http://192.168.1.10/subversion/owner/trunk
Date Created: 2009-12-09 22:00:15 -0600 (Wed, 09 Dec 2009)

Resources

 


Date Created: 2009-12-09 22:00:15 -0600 (Wed, 09 Dec 2009)


back    |    top