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

Re: possible bug: difference between client API and command-line client

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-02-07 13:40:15 CET

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

This is an archived mail posted to the Subversion Dev mailing list.