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

Re: Recursive setting of versioned properties using URL using propedit or svnmucc

From: Lorenz <lorenznl_at_yahoo.com>
Date: Wed, 21 Apr 2010 12:19:01 +0000

Bettual Richter wrote:
>I'm trying to write a skript to set versioned properties after been
>triggered by a
>hook but I seem to get stuck finding a solution and hope someone here
>is able to help me or point out if it's not possible.
>
>I'd like to set a property for every file in a certain
>directory(recursivly) using
>an url. Something like
>
>svn propedit -R PROPNAME PROPVAL URL

I think you meant propset

but anyhow svn prop* for versioned properties only work in on a
working copy.
the remote version only works for revision properties

>or
>
>svnmucc propset PROPNAME PROPVAL -R URL

svnmucc has no -R option.

>My problem is that propedit doesn't support recursivly setting of
>properties and svnmucc gives an error( 'file already exists') when been
>used on a file.
>I'd also be glad if someone had a link to a kind of documentation for
>svnmucc which I haven't been able to find till now because I would like
>to avoid raising the revision number for each file/dir.

you either need to checkout to a temporary working copy apply the
properties and commit,

or generate a file containing one 'propset PROPNAME VAL URL' command
per line for each file/folder you want to modify.
Then call svnmucc with '--extra-args FILENAME'

-- 
Lorenz
Received on 2010-04-21 14:19:45 CEST

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.