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

Re: javah: finding out the latest version of a repository url

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-09-23 00:01:11 CEST

On Sep 22, 2004, at 1:25 PM, Yannick Menager wrote:

> I'm working on a svn synchronization application, using javah. However
> there
> does not seem to be an API to get the latest version of a directory in
> the
> repository, without doing a checkout first :( which is bad because i
> need to do
> all my operations remotely without having to checkout the whole tree.
>
> I am missing something, or if I am not, is there any reason why the
> API is not
> there ( if there isn't, i'll go add a RFE )
>
>

What APIs are you looking at? Try svn_ra.h for network access.
RA->get_youngest_revnum(). There's also a similar API in svn_fs.h, if
you're accessing the repository directly, which it sounds like you're
doing.

I'm not sure what you mean by "the latest version of a directory". Are
you talking about a working copy? A repository? Please explain what
you're trying to do in more detail.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 23 00:02:30 2004

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.