base_get_info returns information about the BASE tree.

read_info returns information about the WORKING tree, or if a
specified node is not present in WORKING, then info from the BASE
tree.

and recall that BASE == what you checked out from the repository.
WORKING corresponds to added/removed/copied/moved nodes. For nodes in
the WORKING tree, revision will always be SVN_INVALID_REVNUM, and the
repos_relpath/root_url will be NULL.

Cheers,
-g

On Tue, Jan 26, 2010 at 19:20, Neels J Hofmeyr <ne...@elego.de> wrote:
> How does
>
>      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);
>
> differ from
>
>  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
>
>

Reply via email to