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

Re: svn:ignore with recursive and non-recursive patterns

From: Steve Cohen <scohen_at_javactivity.org>
Date: Thu, 02 Dec 2010 07:48:05 -0600

On 12/02/2010 12:23 AM, Daniel Shahaf wrote:
> You can use 'propedit --editor-cmd=script.sh **/', where script.sh
> appends '*.o' to argv[1].
>
> Another example, the following is a "Fix typo in the log message" idiom:
> % svn propedit --revprop -r69426 --editor-cmd 'sed -i s/foo/bar/' svn:log
>
> Steve Cohen wrote on Wed, Dec 01, 2010 at 12:29:58 -0600:
>> I have a need to define a number of svn:ignore patterns in my project.
>>
>> Some are specific directories somewhere in my project tree. Others are
>> particular file types created by a build process such as *.o which may
>> be found in any number of directories.
>>
>> However, the svn propset command only allows the recursive -R switch to
>> be applied to the entire set of values for the svn:ignore property.
>> Whereas what is needed is to be able to apply the recursive switch to
>> the VALUE(e.g. *.o), not the KEY (e.g. svn:ignore). Is there any way of
>> achieving this? There doesn't appear to be one. Yet without it,
>> svn:ignore is useless, or at least too cumbersome to be used well.
>>
>> Steve Cohen
>
>
Does svn propset svn:ignore accept the **/filename idiom as a legitimate
pattern indicating recursion or are you saying that the script would
need to manually execute the recursion indicated by the idiom?
Received on 2010-12-02 14:49:30 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.