SVN modifies the new URL address method (Linux,windows,centos)

Source: Internet
Author: User
Tags svn centos tortoisesvn

When the work environment adjusts, sometimes the SVN server address needs to be modified, how can we modify the address of the local library instead of downloading it again? SVN has a simple workaround:

1, Environment for Windows7

Right-->tortoisesvn-> (relocate) on the root of the working copy, and then modify the URL,

Method 1:

Right-click on the working copy of the root directory->tortoisesvn-> (relocate), and then modify the URL, but it is best to back up, it is said that such operations have a certain risk (so far I have not found).

Method 2:

Use aliases, do not use IP,IP changes only need to modify the Hosts file on it, very convenient.


2.Centos Platform:

[Root@ml02 melilishow]# su www

[Www@ml02 melilishow]$ SVN info

Path:.

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

Version Coogan: Http://gblh.xxx.cc:8080/svn/melilishow

Version Library Uuid:d4e9d482-44f2-434a-9335-c1686188efe6

Version: 11

Node type: Table of Contents

Dispatch: Normal

Last modified by author: xxxxxx

Last modified version: 11

Last modified: 2013-01-08 17:48:55 +0800 (two, 2013-01-08)

[www@meeli02 redqeerw]$ svn SW--relocate http://gblh.xxx.cc:8080/svn/melilishow http://svn.xxx.com:8899/svn/melilishow

Certification area:

"www" Password: Hu Jintao

Certification area:

User name:?????

Password for "meeliserver":???? /


Attention! Your password, for the authentication domain:

Can only be saved in plaintext on disk! If possible, consider configuring your system so that Subversion

You can save the encrypted password. Please refer to the documentation for more information.

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

To prevent this warning from appearing again.


Save an 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
Related Article

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.