tags:

views:

37

answers:

2

Dear StackOverflow,

I have a repository which contains a directory tree. One of the directories is a home for many thousands of files. This directory is very rarely modified, but it makes operations like "svn status on root dir" or "svn update on root dir" so slow that they are no longer practical.

Is there a way to make my svn client skip this directory when it's doing a recursive operation on a parent directory, but behave normally when it's doing an operation on the particular large directory?

Or perhaps there's a better way of dealing with such monster directories?

Thanks!

+3  A: 

You can turn on svn:ignore for the directory before performing the large op and then turn it off when done:

svn propset svn:ignore dirname somedir

This will ignore somedir.

Michael Goldshteyn
+1  A: 

Using SSD gives great performance boost to SVN. They're not cheap, but they're worth it if you need to work with huge SVN repositories.

Athari
Makes sense. Too bad I don't control the SVN server hardware :(
user38329, the overhead of large directories is likely all on the SVN client side. On the server side, svn mostly deals in revisions, not directories. So if you can do something about the I/O performance of your local machine, that could help a lot.
slowdog