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

Re: Problem with revprop_set under perl and svn:external

From: IPv7 Develop Group <develop_at_ipv7.org>
Date: Sat, 31 Oct 2009 06:33:30 +0100

Ryan Schmidt wrote:
> On Oct 30, 2009, at 13:27, IPv7 Develop Group wrote:
>
>> i'm working to create some perl scripts to make changes on a svn
>> respository. One of this script try to change a svn:external but i
>> have
>> a problem to do this with the revprop_set().
>
> svn:externals is not a revprop. It is a normal versioned prop.

So to change it, need i to use the propset()?
Like this example of code:
$ctx->propset("svn:externals",$newexternal,"http://localhost/svn/testing/develop_area/mail","0");

But in this case i have this error:

Uncaught exception from user code:
        Bogus revision information given: Setting property on non-local target
'http://localhost/svn/testing/develop_area/mail' needs a base revision at ./update-svn.pl line 84
 at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/SVN/Core.pm line 632
        SVN::Error::croak_on_error('_p_svn_error_t=SCALAR(0x947ff44)') called at
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/SVN/Client.pm line 927
        SVN::Client::__ANON__(undef, 'svn:externals', 'stable
https://localhost/svn/testing/main/mail/branches/maint...', 'http://localhost/svn/testing/develop_area/mail', 0) called
at ./update-svn.pl line 84

Any idea on how change a svn:externals via perl on a remote repository?

>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2413082
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2413186

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-31 06:33:05 CET

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.