Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > RE: Suggestion for recursive ignore

subversion
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

RE: Suggestion for recursive ignore

Author pilotbob
Full name Bob Archer
Date 2009-07-23 10:08:17 PDT
Message > 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.
>

Rather than a new property I would rather see the ignore syntax extended to be somewhat nant fileset like. So, if I wanted the ignore to be recursive I would just add **/ to it... for example, ignore all .suo files I could use **/*.suo

BOb

« Previous message in topic | 2 of 5 | Next message in topic »

Messages

Show all messages in topic

Suggestion for recursive ignore ennnnnio Ennio Zarlenga 2009-07-23 08:44:01 PDT
     RE: Suggestion for recursive ignore pilotbob Bob Archer 2009-07-23 10:08:17 PDT
         RE: Suggestion for recursive ignore ennnnnio Ennio Zarlenga 2009-07-24 02:48:41 PDT
             RE: Suggestion for recursive ignore pilotbob Bob Archer 2009-07-24 07:13:32 PDT
                 RE: Suggestion for recursive ignore ennnnnio Ennio Zarlenga 2009-07-27 05:43:46 PDT
Messages per page: