Reset the svn user name and password and modify the svn IP address.

Source: Internet
Author: User
Tags svn client svn update

Reset SVN user name and password

====================

 

1. Delete the account configuration file of the svn Client

(1) Find the client configuration file we are using, and locate them under Window XP, In the Documents and Settings \ Administrator \ Application Data \ subversion \ auth \ folder of the system disk, delete all objects in the file.
In win7:
C: \ Users \ HP \ appdata \ roaming \ subversion \ auth path.

(2) Use SVN to update or submit so that the client can communicate with the server. In this way, the svn client requires us to enter a new user name and password, enter our user name and password to replace the old user name and password.

2. By modifying the svn server account configuration file, this part requires the cooperation of the svn administrator.

(1) find the server account configuration file, which is located in the config folder of the corresponding project repository of the svn server, open and edit the passwd file, and delete or comment out the account to be replaced.

(2) Use SVN update or submit on the client so that the client can communicate with the server. In this way, the svn client requires us to enter a new user name and password, enter our user name and password to replace the old user name and password.

 

 

 

Modify the svn IP Address

================

I:Modify the IP address in the svn: subclipse that comes with eclipse.

During project development, you may need to modify the svn IP address. The entries file contains the address information of the svn server. Each folder generates an entries file. You can use the visual interface to modify IP addresses in myeclipse or flash builder. The procedure is as follows:

1. Click window ---> others views and select SVN repositores resource library view.

2. Select the svn address to be modified, right-click Properties, and click use a custom label in the pop-up window to use the custom label to modify the IP address.

3. At the same time, click the svn address to be modified, right-click and select relocated to locate again. In the displayed window, select the process to be located.

4. Enter the new IP address in the new URL address bar.

Click "OK". A waiting process may occur because a large number of entries files need to be modified.

Ii. Modify the svn project IP address through tortoisesvn software installed in Windows

1. Find the folder of the root directory that SVN moves out. Note that it is the folder of the root directory. Otherwise, there is no reloacate option in step 2.

2. Select the root directory folder to be modified, right-click reloacate, and enter the path to be modified in the displayed window.

There is also a better way:

In the last line of the c: \ windows \ system32 \ drivers \ etc \ hosts file, add
192.168.1.254 svnserver

You may find
127.0.0.1 localhost

This is the reason why the input of localhost is the same as that of 127.0.0.1 during browsing.

after the preceding settings, the svn address is changed to http: // svnserver/SVN /, in this way, if the svn address is changed, you only need to modify the hosts file.

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.