Ignoring Things

I've been getting tired of having soft links and extra garbage (like Vim swap files) show up in my svn status listing. I've used two different methods to get around this, both documented in the svnbook.

First, I edited my global config file ~/.subversion/config and added .*.swp to the global-ignores property. That got rid of the swap files.

Then, I edited the properties on a few directories:

   svn propedit svn:ignore <dir>

In here, I put a list of files to ignore in that directory, one per line. I listed the files I didn't care about, i.e. soft links that Subversion can't do anything with (Makefile->Makefile.solaris), temporary files that are generated as part of the build process, etc.

Between the two pieces of configuration, I now only see results from svn status if something truly unknown is in the directory, which is ideal.

SubversionIgnoring (last edited 2008-07-09 06:21:36 by localhost)