Thursday, May 14, 2009

Ignoring file types in svn

Create a file (.svnignore) with the regular expressions

*.pyc
*~

Run svn propset on the project

svn -R propset svn:ignore -F .svnignore .

-R indicates that you are doing this recursively so all the directories ignore these.
-F indicates the file we just created with the regular expressions.

Originally found over on Pandemonium Illusion

No comments:

Post a Comment