Table of Contents

Subversion Tips & Tricks

Ignore .pyc files in Subversion

Create a file (.svnignore) with the regular expressions

h .svnignore

*.pyc
*~

Run svn propset on the project

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

If you’ve already got yourself into the mess of versioning your compiled files, then you might want to do a few things.

 find -name "*.pyc" -exec svn revert {} \;
 find -name "*.pyc" -exec svn delete {} \;

Adding external SVN repo into yours

mkdir external
svn pe svn:externals external

add local and remote dir (as for example)

 django  http://code.djangoproject.com/svn/django/trunk/django