Thursday, May 8, 2008

Subversion global-ignores

The subversion book documents properties here and config files here. You need to read both to figure out how to tell subversion to, for example, ignore files ending in .pyc. The secret directory ~/.subversion houses the appropriate config file.

$ cd ~/.subversion
$ vi config

Then search for the global-ignores property. And edit accordingly.

global-ignores = *.pyc *.skl *.pkl *.swp *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .

No comments: