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