Change svnroot

Snippet
svn switch --relocate old_root new_root
 
svn switch --relocate svn+ssh://user@example.net/path/to/svnroot file:///home/svn/svnroot
 
# Note that the old_root and new_root doesn't include the subdir:
# 
# svn+ssh://user@example.net/path/to/svnroot
# 
# not
#
# svn+ssh://user@example.net/path/to/svnroot/website

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.