[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 2 Dec 2010 08:23:29 +0200

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
Received on 2010-12-02 07:25:32 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.