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

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

From: Noel Grandin <noel_at_peralex.com>
Date: 2005-02-07 10:17:15 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

Googling for this tells me that this is issue 1584 (http://subversion.tigris.org/issues/show_bug.cgi?id=1584)
and that it was checked in around November 2003 (http://svn.haxx.se/dev/archive-2003-11/1047.shtml).

If this is illegal, why does the command line client allow it?

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: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 7 10:18:32 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.