開發中有時候用公共的電腦提交一些代碼,eclipse沒有專門的切換svn賬戶的功能。查閱資料得出解決辦法:
1. 查看你的Eclipse 中使用的是什么SVN Interface
windows > preference > Team > SVN #SVN Interface (右側中下方)
2. 如果是用的JavaHL, 找到以下目錄並刪除auth目錄下的文件.
Windows 7
C:\Users\"你的用戶名"\AppData\Roaming\Subversion\auth\
XP
C:\Documents and Settings\"你的用戶名"\Application Data(隱藏文件夾)\"Subversion\auth"
3. 如果你用的SVNKit, 找到以下目錄並刪除.keyring文件.
[eclipse ]"configuration"org.eclipse .core.runtime