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.

nm / sorry for bothering again

heh, I tried grokking the comments when the implementation says it all :)
~Neels

> Does that mean the two calls that only ask status, revision, repos_relpath
> and root_url, passing NULL for all other return-parameters, are in fact
> perfectly identical?
> 
>>     err = svn_wc__db_base_get_info(&status, NULL,
>>                                     &revision,
>>                                     &repos_relpath,
>>                                     &repos_root_url,
>>                                     NULL, NULL, NULL, NULL, NULL, NULL,
>>                                     NULL, NULL, NULL, NULL,
>>                                     eb->db,
>>                                     local_abspath,
>>                                     result_pool,
>>                                     scratch_pool);
> 
>>  SVN_ERR(svn_wc__db_read_info(&status, NULL,
>>                               &revision,
>>                               &repos_relpath,
>>                               &repos_root_url,
>>                               NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
>>                               NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
>>                               NULL, NULL, NULL,
>>                               eb->db, local_abspath,
>>                               result_pool, scratch_pool))
> 
> Thanks!
> ~Neels
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to