[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: Noel Grandin <noel_at_peralex.com>
Date: 2005-02-07 14:11:17 CET

Hi

Ahhh. Thanks.

-- Noel.

Peter N. Lundblad wrote:
> 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
>

NOTICE: Please note that this email, and the contents thereof,
are subject to the standard Peralex email disclaimer, which may
be found at: http://www.peralex.com/disclaimer.html

If you cannot access the disclaimer through the URL attached
 and you wish to receive a copy thereof please send
 an email to email@peralex.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 7 14:12:46 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.