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

Re: Getting HEAD revision number from a URL

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-10-26 05:57:34 CEST

On Oct 25, 2004, at 6:40 PM, Garrick Olson wrote:
>
>> Nevertheless, there *is* a network API call for this in svn_ra.h.
>> Just
>
>> run RA->get_latest_revnum().
>
> I am not very familiar with that API. Does it get the latest revision
> for the entire repository, or the latest revision (that contains
> changes) for a path within the repository?

It sounds like you're missing a fundamental SVN concept. The
repository has a single, global revision number. There's no such thing
as "the latest revnum of a path".

>
>> It took me 1 minute to modify from tools/examples/svnput.c.
>
> Does that mean it would only take a couple minutes to commit it? :)

If folks find it useful, sure.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 26 05:59:04 2004

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.