Eclipse插件 Subclipse 去掉或者修改 记住的用户名密码

环境:Windows xp SP2 Eclipse3.3.2   Subclipse 1.2.4

因为之前连的svn服务器中的项目的用户的权限 不能 满足我连接和下载另一个项目的需要 而之前的用户名和密码 我没办法去掉,上网找了半小时 还好,为了节省大家时间 参考一下吧

删除掉C:\Documents and Settings\hao\Application Data\Subversion\auth\svn.simple文件夹下的文件即可.

再次访问时,会弹出要求输入用户名和密码.

以上的路径名仅供参考,hao是我的一个用户名,Application Data是一个隐藏的文件夹.



#################################################################################
======================

以下为转载

=============================
Subclipse 记住密码后如何取消
新近开发的项目都用 SVN 做版本控制了,Eclipse 上少不了装上 SVN 插件——Subclipse,用起来还不错。就有一点不好!
添加资源库的时候,如果选择了“Remember Password”,但输入的密码是错误的。确定后,就没得地方去修改密码了,就算是删除此资源库重新添加,也还是用以前输入的密码执着地尝试。CVS 的配置选项里还有一个“Password Management”,Subclipse 的 SVN 选项里就没有这一项。Subclipse 真以为我们是圣人吗。无奈只有删除 Eclise_HOME/configuration/org.eclipse.core.runtime/.keyring 文件(文件名挺有意思:钥匙链)。虽说可以解决这个问题,但是也把其他保存在其中的密码给丢弃了,遗憾!盼 Subclipse 赶紧出新版也提供类似 CVS 的“Password Management”。


Eclise_HOME/configuration/org.eclipse.core.runtime/.keyring 删除后提交时没有弹出要求输入用户密码 不知是操作不对还是 ??


在C:\Documents and Settings\sun\Application Data\Subversion\目录下有README.txt文件,里面的内容最好看一看,如下:

This directory holds run-time configuration information for Subversion
clients. The configuration files all share the same syntax, but you
should examine a particular file to learn what configuration
directives are valid for that file.
The syntax is standard INI format:
   - Empty lines, and lines starting with '#', are ignored.
     The first significant line in a file must be a section header.
   - A section starts with a section header, which must start in
     the first column:
       [section-name]
   - An option, which must always appear within a section, is a pair
     (name, value). There are two valid forms for defining an
     option, both of which must start in the first column:
       name: value
       name = value
     Whitespace around the separator (:, =) is optional.
   - Section and option names are case-insensitive, but case is
     preserved.
   - An option's value may be broken into several lines. The value
     continuation lines must start with at least one whitespace.
     Trailing whitespace in the previous line, the newline character
     and the leading whitespace in the continuation line is compressed
     into a single space character.
   - All leading and trailing whitespace around a value is trimmed,
     but the whitespace within a value is preserved, with the
     exception of whitespace around line continuations, as
     described above.
   - When a value is a boolean, any of the following strings are
     recognised as truth values (case does not matter):
       true      false
       yes       no
       on        off
       1         0
   - When a value is a list, it is comma-separated. Again, the
     whitespace around each element of the list is trimmed.
   - Option values may be expanded within a value by enclosing the
     option name in parentheses, preceded by a percent sign and
     followed by an 's':
       %(name)s
     The expansion is performed recursively and on demand, during
     svn_option_get. The name is first searched for in the same
     section, then in the special [DEFAULT] section. If the name
     is not found, the whole '%(name)s' placeholder is left
     unchanged.
     Any modifications to the configuration data invalidate all
     previously expanded values, so that the next svn_option_get
     will take the modifications into account.
The syntax of the configuration files is a subset of the one used by
Python's ConfigParser module; see
   http://www.python.org/doc/current/lib/module-ConfigParser.html
Configuration data in the Windows registry
==========================================
On Windows, configuration data may also be stored in the registry. The
functions svn_config_read and svn_config_merge will read from the
registry when passed file names of the form:
   REGISTRY:<hive>/path/to/config-key
The REGISTRY: prefix must be in upper case. The <hive> part must be
one of:
   HKLM for HKEY_LOCAL_MACHINE
   HKCU for HKEY_CURRENT_USER
The values in config-key represent the options in the [DEFAULT] section.
The keys below config-key represent other sections, and their values
represent the options. Only values of type REG_SZ whose name doesn't
start with a '#' will be used; other values, as well as the keys'
default values, will be ignored.

File locations
==============
Typically, Subversion uses two config directories, one for site-wide
configuration,
Unix:
    /etc/subversion/servers
    /etc/subversion/config
    /etc/subversion/hairstyles
Windows:
    %ALLUSERSPROFILE%\Application Data\Subversion\servers
    %ALLUSERSPROFILE%\Application Data\Subversion\config
    %ALLUSERSPROFILE%\Application Data\Subversion\hairstyles
    REGISTRY:HKLM\Software\Tigris.org\Subversion\Servers
    REGISTRY:HKLM\Software\Tigris.org\Subversion\Config
    REGISTRY:HKLM\Software\Tigris.org\Subversion\Hairstyles
and one for per-user configuration:
Unix:
    ~/.subversion/servers
    ~/.subversion/config
    ~/.subversion/hairstyles
Windows:
    %APPDATA%\Subversion\servers
    %APPDATA%\Subversion\config
    %APPDATA%\Subversion\hairstyles
    REGISTRY:HKCU\Software\Tigris.org\Subversion\Servers
    REGISTRY:HKCU\Software\Tigris.org\Subversion\Config
    REGISTRY:HKCU\Software\Tigris.org\Subversion\Hairstyles

转载于:https://www.cnblogs.com/ivan-zheng/archive/2009/12/25/1631805.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值