Switch svn user under Eclipse

In eclipse, svn is often used for code version control. In order to submit or update the code, we are not repeatedly prompted to enter the user name and password, so we
are used to automatically saving the user name and password for accessing SVN. In order to use it automatically next time, don't manually enter it again, but sometimes it
is a bit troublesome to change the password or user name. Here are two solutions:


1. By deleting the account configuration file of the SVN client
  1) Check your Eclipse What SVN Interface (Chinese: svn interface) are you using? windows > preference > Team > SVN
    In the settings panel on the right, you can see the SVN Interface or Chinese svn interface column, and the option box of the Client shows the one you are currently using. svn interface


  2) If you are using JavaHL, find the following directory
    C:\Documents and Settings\username\Application Data\Subversion\ You should see an auth directory, delete the relevant files in the auth directory.
    Note: Application Data is generally hidden, so you have to display all files and folders before. If you can't find it, search for the folder Subversion


  3) If you use SVNKit, find the following directory eclipse installation directory\configuration\org. eclipse.core.runtime deletes the .keyring file.


  4) Use SVN to update or submit, so that the client communicates with the server, so that the SVN client will ask us to enter a new username and password, enter our username and password
    to The old username and password can be replaced.


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 SVN server installation path, open and edit the passwd file, delete or comment the required The replaced account


  2) Use SVN to update or submit on the client, so that the client communicates with the server, so that the SVN client will ask us to enter a new username and password, and enter our
username and password to replace Old username and password.

Original: http://blog.csdn.net/baolong47/article/details/8450370

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326728466&siteId=291194637