Add a proxy to subversion configuration

If you need to access subversion from outside a proxy, you need to edit ~/.subversion/servers and add this:

mySubversionGroup = *.some.domain
http-proxy-host = my.proxy.server
http-proxy-port = 8080

Since Intellij 9.0.3 you now also need to set this information in the svn settings.

Posted in svn

svn ignore on the command line

How to ignore files on command line with subversion.

I’ve had to google this so many times I thought I would post it.

svn propedit svn:ignore ./some_path

You need this if you want to ignore more than one pattern.
Will open a text editor where you can add multiple entries.

You can also do:

svn propset svn:ignore -F file_to_ignore ./some_path 

The -F means ignore a file.

for example:

For directory target

svn propset svn:ignore target .

ignores the target directory in the current dir.

You have to remember to commit the directory you have just set the property on:

svn ci -m "Setting the ignore property to ignore target directory" -N .

The -N means non-recursive so just commit the current directory.