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

difference between client API and svn command

From: Noel Grandin <noel_at_peralex.com>
Date: 2005-02-02 10:24:50 CET

Hi

Subversion version: 1.1.3

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

Is there some magic that is happening in the svn command line client that does not translate directly into the client API?

Thanks,
    Noel Grandin

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: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 2 10:28:34 2005

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.