[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Suggestion for recursive ignore

From: Ennio Zarlenga <wzzxo_at_yahoo.fr>
Date: Thu, 23 Jul 2009 08:44:01 -0700 (PDT)

Hello all,

I know that svn:ignore allows to specify which files to ignore in a given folder, and I know that with svn propset -R, I can propagate this to subfolders. However, if I create a new subfolder and add it to version control, I have to repeat propset for this folder to ignore the same patterns.

I know that I can use global ignore in the cofiguration area, but then the configuration becomes user-specific.

So, I'm thinking about a new property called svn:ignore-recursive or something like that, which would work like the bugtraq: properties in TortoiseSVN: if the property is not found in the committed folder, the client would search upwards through the folder tree to find it until it comes to the tree root.

That way, setting svn:ignore-recursive on a given folder would allow to ignore the specified patterns in any subfolders, including the ones created afterwards.

In fact, I see another way to reach this behavior without regularly running svn propset -R on the root folder : a post-commit hook would easily add the svn:ignore property to the new folders.

However, I think that this feature may be useful to others too.

Thanks,
Ennio

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2374870

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-23 18:59:03 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.