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

Re: determine latest repo revision?

From: Mark Benedetto King <mbk_at_lowlatency.com>
Date: 2004-02-23 18:48:45 CET

On Sun, Feb 22, 2004 at 11:40:51PM -0600, Ben Collins-Sussman wrote:
>
> >c) obtain the base url of the underlying repository
> >
> >Currently i am trying 'svn ls -v' and traversing up the
> >url path but it's slow and somehwat fragile.
>
> That's all you can do. The svn client library has no separate concepts
> of "Repository Root" and "Path within the Repository". At the moment,
> there's no way for an svn client to know where that line is drawn in the
> middle of the URL. Your technique is probably the best there is.
>

If you're willing to go to the RA layer instead, there's get_repos_root().

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 23 18:47:38 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.