如何在eclipse svn存储库中更改用户? [英] How to change user in eclipse svn repository?

查看:138
本文介绍了如何在eclipse svn存储库中更改用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从朋友那里得到了eclipse,他的eclipse使用他的用户与SVN进行通信,提交或更新。我想改变我的用户,但我不能。我读了这些主题,但它们对我不起作用。

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 doesn't work for me.

如何在Eclipse中更改SVN存储库的凭据?

例如,我的系统没有没有这个答案中提到的svn.simple文件。

For example, my system doesn't have the svn.simple file which mentioned in this answer.

这个问题:

SVN更改用户名

当我想要使用svn,它说:

When i want to use svn, it says that :

'/home/chavosh' is not a working copy

我该怎么办?!

推荐答案

请你的朋友更改他/她的密码。下次尝试访问存储库时,系统会要求您提供用户名或密码。

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.

要找出使用的客户端适配器:
转到Windows- >首选项 - > Team-> SVN。
在Client Interface部分,检查使用的适配器。

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

如果您使用的是JavaHL,则需要从svn.simple目录中删除文件
此目录通常位于%AppData%\ Subversion \ auth中。 (转到命令promt和echo%AppData%以找出AppData目录的位置)

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)

如果您使用的是SVNKit,那么您需要从eclipse中删除.keyring文件配置目录。
在我的工作站上,此.keyring文件的位置是\ configuration\org.eclipse.core.runtime

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

这篇关于如何在eclipse svn存储库中更改用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆