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

Re: svn_wc__db_base_get_info() vs. svn_wc__db_read_info() ?

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 27 Jan 2010 21:20:16 -0500

On Wed, Jan 27, 2010 at 18:15, Neels J Hofmeyr <neels_at_elego.de> wrote:
> Neels J Hofmeyr wrote:
>> So when read_info returns a non-"empty" revision, repos_relpath or root_url,
>> then these values have definitely come from the BASE tree?
> I see in the code that that's not the case.
> So the two calls are only identical when there is no WORKING node for that path.

If there is a WORKING node, then *revision WILL be set to
INVALID_REVNUM, and *repos_relpath and *repos_root_url WILL be set to

The *only* way you'll get values for those is when there is NOT a
WORKING node. Thus, the values represent information about the BASE

Received on 2010-01-28 03:20:50 CET

This is an archived mail posted to the Subversion Dev mailing list.