Monday, August 3, 2015

How to do svn ignore on a single file?

  While I am using sublime ... it creates two files that i don't want to include in my subversion repository 
?       xxx.sublime-project
?       xxx.sublime-workspace
  Removing them is as following:   
  1. Go to the directory of the un-needed file and type : > svn propedit svn:ignore .
  2. An editor will open and you need to add a line with the file name. Save and exit the editor.
  3. Commit the changes.




source:

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://.