On Wed, Jan 27, 2010 at 18:15, Neels J Hofmeyr <ne...@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 NULL. 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 node. Cheers, -g