[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 16:19:11 CEST

On Oct 26, 2004, at 5:27 AM, Peter Valdemar Mørch wrote:
>
> * Question 1: What is the HEAD of the entire repository
> http://<repos>?

That's what RA->get_latest_revnum() answers. For a single repository,
at any given moment, there's only one value of 'HEAD'.

>
> * Question 2: What is the last revision where something changed in
> http://<repos>/<projN>?

We call this the "last changed revision" of a path. In some sense,
it's a bit like the 'latest version' of a file or dir.

    * 'svn info working-copy-path' shows this. Of course, be sure to
'svn up' first.
    * 'svn list --verbose URL' shows this also.

In any case, I've committed headrev.c to tools/examples/.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 26 16:19:51 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.