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