views:

161

answers:

2

I recently began working on a large project that contains a huge number of files. For some reason (which I don't understand), the team decided not to use svn:ignore and, as such, each developer needs to provide his or her own set of ignore parameters.

I'm using the TortoiseSVN client, and there is a way to do this (using the global ignore property), except it would then apply across ALL other projects that I have checked out which I don't want.

Is there any way to ignore files on a per-project basis without using the svn:ignore parameter? Thanks for any help.

Edit: I wanted to specify that svn:ignore is not an option. The solution would have to be something locally.

+1  A: 

Just use the ignore list. You can read about it in the docs.

This does set the svn:ignore property for the path, but you can apply it recursively if needed.

Since the properties are actually saved in the repository, the other developers would not need to set their own ignore lists. They will automatically get the same properties when they next update their working copies.

jheddings
Jason can not use svn:ignore list !
bua
The OP originally stated that it was not desirable due to the misunderstanding that each developer would have to set up their own list. I was simply pointing out that this is not the case, since the properties are actually stored in the repository itself.
jheddings
Accepting because this *is* the (true) correct solution. As sbi pointed out above, there's not always an alternative solution when a good solution is already in place.
JasCav
+1  A: 

TortoiseSVN can recursively set the svn:ignore property for an entire directory subtree. So if your repository is organized in a way that each project has its own folder, you can apply a different svn:ignore pattern for each project.

Check the "Apply property recursively" box when setting the value.

Michael Hackner