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

Re: Revisions in trunk

From: Edmund Horner <chrysophylax_at_chrysophylax.cjb.net>
Date: 2004-03-24 11:59:03 CET

Dominik Oesterreich wrote:
> I try to write a function that returns a list of all
> Revisionnumbers which belong to the trunk.
>
> I found a method (svn_fs_youngest_rev) to get the youngest revision
> number. Of course, I can start with 0 and count that youngest number,
> but than I have a list which contains also the numbers of other branches.

Take a look at the use of svn_fs_node_history(), svn_fs_history_prev()
and svn_fs_history_location() in libsvn_repos/rev_hunt.c
(svn_repos_history).

Seems you could have a similar loop that builds a list of revs.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 24 11:59:36 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.