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

perl bindings to query locks

From: John <jsparrow_at_ecclescollege.ac.uk>
Date: 2005-06-03 11:15:11 CEST

I'm trying to use the perl bindings to do the equivelent of 'svnlook lock x y'.
Can someone help!

Cpan documents 'SVN::SVNLook', but I guess this just calls svnlook under the
hood anyway? I wanted to use the API directly. Is there some documentation? I'm
on win32.

I kinda made up the following:

$paramrepo = shift;
$parampath = shift;
$paramuser = shift;

$repo = SVN::Repos::open($paramrepo);
$fs = $repo->fs;

$lock = $fs->get_lock($parampath);

But it doesn't work. does 'get_lock' exist??

Thanks,

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 3 11:23:40 2005

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.