How to change credentials for SVN repository in Ec

2020-02-07 14:10发布

I have Eclipse 3.4.2 installed on Windows with subclipse. Another developer added an SVN repository with his credentials and selected 'Save password'. Now every time I do anything with SVN his cached credentials are used. How can I change them to mine?

I have already checked the 'workspace/.metadata/.plugins/org.tigris...' folders, and could not find any way to reset those cached credentials.

19条回答
forever°为你锁心
2楼-- · 2020-02-07 14:27

On any Windows Version delete the following folder:

%APPDATA%\Subversion\auth

(You can copy&paste this to RUN/Explorer, and it will resolve the App-Data-Folder for you.)

On Linux and OSX it is located in

~/.subversion/auth

Source: http://www.techcrony.info/2008/03/26/admin/how-to-change-eclipse-svn-password/

查看更多
【Aperson】
3楼-- · 2020-02-07 14:29

It's too simple to change username and password in Eclipse.

Just follow the following steps:

In your Eclipse,

Goto Window -> Show View -> Other -> (Type as) SVN Repositories -> click that(SVN Repositories) -> Right Click SVN Repositories -> Location Properties -> General tab change the following details for credentials.,

that's it.

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2020-02-07 14:31

In windows :

  1. Open run type %APPDATA%\Subversion\auth\svn.simple
  2. This will open svn.simple folder
  3. you will find a file e.g. Big Alpha Numeric file
  4. Delete that file.
  5. Restart eclipse.
  6. Try to edit file from project and commit it
  7. you can see dialog asking userName password

It worked for me.... ;)

查看更多
放我归山
5楼-- · 2020-02-07 14:33

Delete the .keyring file under the location: configuration\org.eclipse.core.runtime, and after that, you will be invited to prompt your new svn account.

查看更多
Juvenile、少年°
6楼-- · 2020-02-07 14:34

(Windows 7 Eclipse Indigo 3.7)

C:\Users\\AppData\Roaming\Subversion\auth\svn.simple

Find svn information file and make it writable.
(they are default readonly) (no restart of eclipse required)

查看更多
欢心
7楼-- · 2020-02-07 14:37

I deleted file inside svn.simple directory at below path on windows machine (Windows 7):

C:\Users\[user_name]\AppData\Roaming\Subversion\auth

Problem solved.

查看更多
登录 后发表回答