Changing SVN repository URL


Not something I do on a daily basis, so here it goes :

$ svn switch --relocate file:///home/old/path/to/svn/ file:///home/new/path/to/svn/

You may also want to update the SVN repository URL in your TRAC environments…

$ vim /path/to/trac-env/conf/trac.ini

Update the variable named repository_dir

When done you need to resync the environments…

$ trac-admin /path/to/trac-env/ resync

Thanks for reading this post!

Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!