A tutorial on SVN address changes under the SVN switch server

Source: Internet
Author: User
Tags svn svn update

Recently on the virtual machine on the Ubuntu server set up SVN server, found that each restart the server, IP will change, so the previous check out of the project will need to change SVN address, of course, you can also checkout a copy, here is the change.

For example, my project directory is/var/www/html/, the directory has the following several:

Svn-switch

I want to change the address of Helloyii, first switch to the project directory, note that must be switched to the project directory, command: SVN switch--relocate old Repository root (New Repository root) address can View from SVN info

CD Helloyii

Execute command: sudo svn switch--relocate svn://10.19.166.156/svn://192.168.222.128/(because it is already under this directory, do not need to add directory name)

Finally: sudo svn update try to update successfully!
The following questions will appear if you add a directory:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.