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

RE: SVN::Client::log() first argument Re: svn commit: r1729519 - /subversion/trunk/tools/client-side/svn-graph.pl

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 15 Feb 2016 11:54:39 +0100

> -----Original Message-----
> From: James McCoy [mailto:vega.james_at_gmail.com] On Behalf Of James
> McCoy
> Sent: zondag 14 februari 2016 19:20
> To: Daniel Shahaf <d.s_at_daniel.shahaf.name>
> Cc: dev_at_subversion.apache.org
> Subject: Re: SVN::Client::log() first argument Re: svn commit: r1729519 -
> /subversion/trunk/tools/client-side/svn-graph.pl
>
> On Sun, Feb 14, 2016 at 02:34:42PM +0000, Daniel Shahaf wrote:
> > jamessan_at_apache.org wrote on Wed, Feb 10, 2016 at 03:22:36 -0000:
> > > # Retrieve the requested history.
> > > - $ra->get_log([''], $startrev, $youngest, 0, 1, 0, \&process_revision);
> > > + $client->log($repos_url, $startrev, $youngest, 1, 0,
> \&process_revision);
> >
> > Why does this work? Both svn_client.h and SVN::Client(3) state the
> > first argument is "targets", plural.
>
> SVN::Client(3) describes targets as
>
> $targets
> This argument can either be a single $target (as defined
> above) or a reference to an array of them.

Do you have any pointers to see how this is implemented?

I can find this documentation specific for 'targets' argument in one of our .i files, but no matching implementation.

I'm trying to find why, but the only things I can find would indicate that this is just based on how swig implements array mappings for perl.

        Bert
Received on 2016-02-15 11:54:54 CET

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.