SVN account information -SVN delete user switching in Eclipse

In eclipse frequently used code version control svn, to submit or update your code when we are not repeatedly prompted to enter a user name and password, so we got used to access the SVN user name and password automatically saved.

Remember to use, do not manually enter it again many times, but sometimes need to change a password or user name, some trouble, here are two kinds of solutions:

1, by removing the SVN client account profiles

  1) Check your Eclipse used what SVN Interface (svn Interface) Windows -> Preferences -> Team -> SVN in the settings panel on the right you can see [SVN Interface] or the [Chinese] SVN Interface column, Client options box that appears is the interface that you currently use SVN.

  2) If it is used JavaHL, locate the following directory: win10 ~ Win7 system: C: \ Users \ "Your Username" \ AppData \ Roaming \ Subversion \ will see a auth directory, delete the directory auth relevant documents . xp system: C: \ Documents and Settings \ " your user name" \ Application Data \ Subversion \ will see a auth directory, delete the directory auth relevant documents. Note: AppData generally hidden, so before you want to show all hidden files and folders, if it can not find, on the search folder Subversion.

  This blogger is win10 systems, SVN Interface Interface using JavaHL, as an example:

  3) 如果你用的SVNKit,找到以下目录: eclipse安装目录\configuration\org.eclipse.core.runtime 删除 .keyring文件

  4) 重启Ecplise后,

  如果我们要检出(下载)代码,在【Java EE】视图下:   Package Explorer界面中右键 --> Import... --> SVN --> 从SVN检出项目 --> Next --> 创建新的资源库位置 --> Next --> 输入项目经理给的地址 --> Next   此时会让你输入用户名和密码,我们输入新的用户名和密码(可能需要输入两次),点击OK。具体步骤如下图所示:

  点击 【Next】--> 【Finish】即检出我们所需要的项目了。

  或者,在【SVN资源库研究】视图下:

  右键 --> 新建 --> 资源库位置(R)... --> 输入项目经理给的地址 --> Finish

  此时会让你输入用户名和密码,我们输入新的用户名和密码(可能需要输入两次),点击OK。具体步骤如下图所示:

  选中我们要检出的项目右键 --> 检出为(A)... --> Next --> Finish,即检出我们所需要的项目了。

 

2、通过修改SVN服务端账号配置文件,这部分需要SVN的管理员配合   

  1) 找到服务端账号配置文件,这个文件位于SVN服务器的安装路径config文件夹中,打开并编辑passwd文件,删除或注释需要被替换的账号。

  本博主使用的是最新版本的SVN服务端,服务端账号配置文件与上述描述有些不同,具体操作如下图:

  或者我们直接使用SVN服务端图形化界面,直接修改或删除账号,如下图:

 

Guess you like

Origin www.cnblogs.com/gqzdev/p/11804325.html