开发者

Ignore Files in Subversion on Per-Project Basis

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.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜