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

[PATCH] add support for svn_client_info to perl bindings

From: Al Tobey <tobert_at_gmail.com>
Date: 2006-03-01 19:05:36 CET

The attached patch adds support for svn_client_info to the perl
bindings. I added a test for working on a WC since that's all I'm
using currently, but it should work OK for URL's, too.

#!/usr/bin/perl
my $svn = SVN::Client->new();
my $receiver = sub {
   # $_[1] is an svn_info_t object
   print "Current revision of $_[0] is", $_[1]->rev, "\n";
};
$svn->info( "foo/bar.c", undef, 'WORKING', $receiver, 0 );

-Al Tobey

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Mar 1 19:27:52 2006

This is an archived mail posted to the Subversion Dev mailing list.