SVN::Client -- determine recent interesting rev of file
From: Nik Clayton <nik_at_ngo.org.uk>
Date: 2006-07-06 14:30:40 CEST
Hi all,
I'm experimenting with the SVN::Client API with Perl.
One of the things I need to do is, given a repository path and a revision,
For example, given /trunk/foo, changed in revs 1, 4, 7, 12, the following
irev('/trunk/foo', 3) == 1;
I know how to do this using SVN::Repos:
# Get the revision root, step back one hop in the node history
my $fs = $repo->fs();
return ($hist->location())[1];
and using SVN::Ra:
# Get the logs for this path, starting at $rev. Set limit to
$ra->get_log([$path], $rev, 1, 1, 0, 1,
return $rev;
I can't see how it would work with SVN::Client. I can't use
I've tried using SVN::Client::ls() and calling the created_rev() method of
http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=117167
Specifically, the created_rev() for a node that's been copied is normally
Is this possible?
N
---------------------------------------------------------------------
|
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.