Monday, August 3, 2015

SVN change username

  Well... yesterday I had a new job as a Senior UI Developer .... 
the first challenge i had is to change the username and password of my colleague svn credential that he used on my machine ... 
  I found an easy solution 
  1. cd to ~/.subversion/auth/.
  2. Do fgrep -l <yourworkmatesusernameORtheserverurl> */*.
  3. Delete the file found.
  The next operation on the repository will ask you again for username/password information.
(For Windows, the steps are analogous; the auth directory is in %APPDATA%\Subversion\).

  Note that this will only work for SVN access schemes where the user name is part of the server login so it’s no use for repositories accessed using file://.






No comments:

Post a Comment