On Mon, 7 Feb 2005, Noel Grandin wrote:
> I'm trying to translate a perl script using the svn command line client to use the perl API.
>
> Part of the script executes the following commands:
> svn copy $SVNURL/trunk $SVNURL/tags/$tagname -m "Tagging $tagname"
> svn propset svn:author --revprop -r HEAD $Author $SVNURL/trunk
> svn propset svn:date --revprop -r HEAD $Datum $SVNURL/trunk
> Where the $ things are perl variables.
>
> This works fine.
>
> However, when I translate the above sequence of commands to use the perl API, I get:
> Bad property name: Revision property 'svn:author' not allowed in this context at pvcs2svn.pl line 513
I don't know the Perl bindings, but in the client C API there is a special
function for setting revprops: svn_client_revprop_set. It looks like you
are using the Perl variant of svn_client_prop_set.
Hope this helps,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 7 13:43:24 2005