subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James McCoy <james...@jamessan.com>
Subject Re: SVN::Client::log() first argument Re: svn commit: r1729519 - /subversion/trunk/tools/client-side/svn-graph.pl
Date Sun, 14 Feb 2016 18:19:45 GMT
On Sun, Feb 14, 2016 at 02:34:42PM +0000, Daniel Shahaf wrote:
> jamessan@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.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan@jamessan.com>

Mime
View raw message