In eclipse, SVN is often used for code version control. In order to submit or update code, we are prompted to enter the user name and password, so we are used to automatically saving the username and password used to access SVN. For the next automatic use, do not manually enter it again, but sometimes you need to change the password or user name, it will be a bit of trouble. The following are two solutions:
1. Delete the account configuration file of the svn Client
1) Check what SVN interface is used in your eclipse (Chinese: SVN Interface)
Windows> preference> Team> SVN
On the settings panel on the right, you can see the svn interface or the svn interface in Chinese. The options box of the client displays the svn interface you are currently using.
2) If javahl is used, find the following directory:
C: \ Documents ents and Settings \ User Name \ Application Data \ subversion \
You should see that there is an auth directory to delete the relevant files in the auth directory.
Note: Application Data is generally hidden, so you need to display all the files and folders before. If you cannot find them, search for the folder subversion.
3) If you use svnkit, find the following directory:
Eclipse installation directory \ Configuration \ org. Eclipse. Core. Runtime
Delete the. keyring file.
4) 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 svn Server installation path, open and edit the passwd file, delete or comment out the account to be replaced
2) use SVN to update or submit the client 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.