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

Re: pattern for specifying svn:ignore for files without extension

From: Steve Cohen <scohen_at_javactivity.org>
Date: Wed, 01 Dec 2010 15:19:13 -0600

On 12/01/2010 02:08 PM, Ryan Schmidt wrote:
> Redirecting this discussion back to the mailing list......
>
>
> On Dec 1, 2010, at 14:05, Steve Cohen wrote:
>> On 12/01/2010 01:38 PM, Ryan Schmidt wrote:
>>> Can you have the build process write its files to a different directory (a "build" directory) that you could svn:ignore everything in?
>>>
>>
>> Sadly, no, not without a major rewrite of the build process. This is deep legacy stuff, using make, with the typical pattern of mixing source and object in the same directory. Not the way I would have designed it but ...
>
> Then you may have to set an svn:ignore for each file you want to ignore.
>
>
>

It seems to me that
        svn --recursive propset svn:ignore xyz

is basically just syntactic sugar for manually going through issuing
        svn propset svn:ignore xyz

on every node of the directory structure, It is syntactic sugar in the
sense that the end product in either case would be the same. There is
no "recursive" data attribute in a project's svn:ignore tree.

Which leads me to think that a one-time shell script or python script or
whatever might be written to walk the directory tree, look for all the
executable files and manually add them to that directory's svn:ignore list.
Received on 2010-12-01 22:20:36 CET

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.