How to change user in eclipse svn repository?

前端 未结 5 1902
小蘑菇
小蘑菇 2020-12-30 08:26

I get eclipse from my friend and his eclipse use his user to communicate with SVN, commit or update. I want to change to my user but i can\'t. I read these topics, but they

相关标签:
5条回答
  • 2020-12-30 08:45

    Ask your friend to change his/her password. The next time you try to access the repository, you will be asked to provide username or password.

    Alternatively, you could clear the cached credentials. There are two ways to do this depending on what client adapter, the plugin is using.

    To find out which client adapter is used: Go to Windows->Preferences->Team->SVN. In the Client Interface section, check which adapter is used.

    If you are using JavaHL then you need to delete files from the svn.simple directory This directory is usually located in %AppData%\Subversion\auth. (Go to command promt and echo %AppData% to find out location of the AppData directory)

    If you are using SVNKit then you need to delete the .keyring file from eclipse configuration directory. On my workstation the location of this .keyring file is \configuration\org.eclipse.core.runtime

    0 讨论(0)
  • 2020-12-30 08:50

    1. Goto window->show view->other

    2.Select SVN Repositories

    4.Right click the repository that you want to change the users and click Location properties

    5. Finally change the username and password and click Finish

    0 讨论(0)
  • 2020-12-30 08:51

    Go to:

    Window -> Preferences -> General -> Security -> Secure Storage

    Then in Contents tab expand [Default Secure Storage] and SVN. Now delete these values.

    Example

    Tested in Eclipse Luna.

    0 讨论(0)
  • 2020-12-30 09:01

    If you have tortoise client in your machine then removing current user from tortoise also removes it from eclipse. At least it works for me :) You can remove current user from tortise as described here: How to change users in TortoiseSVN

    0 讨论(0)
  • 2020-12-30 09:03

    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 projct and commit it
    7. you can see dialog asking userName password

    It worked for me.... ;)

    0 讨论(0)
提交回复
热议问题