Svn Method for modifying the new url address (linux, windows, centos)

Source: Internet
Author: User

This article introduces how to modify the new svn address. Here, you can modify the new address in linux, windows, and centos. If you are interested, refer to it.

When the work environment is adjusted, sometimes the address of the SVN server needs to be modified. How can we modify the address of the local database instead of downloading it again? SVN has a simple solution:

1. The environment is Windows 7.

Right-click the root directory of the working copy-> TortoiseSVN-> Relocate, and modify the URL,

Method 1:

Right-click the root directory of the working copy, right-click TortoiseSVN-> Relocate, and modify the URL, but back up the file first, it is said that such an operation is dangerous (I have not found it so far ).

Method 2:

Use an alias instead of an IP address. You only need to modify the hosts file when changing the IP address, which is convenient.


2. Centos platform:

[Root @ ml02 melilishow] # su www

[Www @ ml02 melilishow] $ svn info

Path :.

URL: http://gblh.xxx.cc: 8080/svn/melilishow

Version library root: http://gblh.xxx.cc: 8080/svn/melilishow

Version library UUID: d4e9d482-44f2-434a-9335-c1686188efe6

Version: 11

Node Type: Directory

Scheduling: normal

Last modified by: xxxxxx

Last Modified Version: 11

Last modification time: 17:48:55 + 0800 (2)

[Www @ meeli02 redqeeRW] $ svn sw -- relocate http://gblh.xxx.cc: 8080/svn/melilishow http://svn.xxx.com: 8899/svn/melilishow

Certification field:

"Www" Password :******

Certification field:

Username :?????

"Meeliserver" Password :???? /


Note! Your password, for the authentication domain:

<Http://svn.xxx.com: 8899> VisualSVN Server

Only files on disks can be stored in plain text! If possible, consider configuring your system to make Subversion

You can save the encrypted password. See the documentation for details.

You can set the option "store-plaintext-passwords" to "yes" or "no" in "/home/www/. subversion/servers ",

To avoid this warning again.


Save Unencrypted Password (yes/no )? Yes

[Www @ ml02 melilishow] $ svn up


Linux platform:

 

The Code is as follows: Copy code
Svn sw -- relocate svn: // old_ip/directory svn: // new_ip/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.