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