You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <da...@elego.de> on 2011/09/15 16:49:24 UTC

Re: [Issue 4019] New - API request: svn_client_get_repos_info()

cmpilato@tigris.org wrote on Thu, Sep 15, 2011 at 07:19:26 -0700:
> http://subversion.tigris.org/issues/show_bug.cgi?id=4019
>                  Issue #|4019
>                  Summary|API request: svn_client_get_repos_info()
>                Component|subversion
>                  Version|1.7.x
>                 Platform|All
>                      URL|
>               OS/Version|All
>                   Status|NEW
>        Status whiteboard|
>                 Keywords|
>               Resolution|
>               Issue type|ENHANCEMENT
>                 Priority|P3
>             Subcomponent|libsvn_client
>              Assigned to|issues@subversion
>              Reported by|cmpilato
> 
> 
> 
> 
> 
> 
> ------- Additional comments from cmpilato@tigris.org Thu Sep 15 07:19:25 -0700 2011 -------
> Stefan Küng reports that TortoiseSVN could benefit from a public API which can
> quickly return basic information about the repository associated with a working
> copy path or URL.  Maybe something like this?
> 
> 
>    svn_error_t *
>    svn_client_get_repos_info(const char **repos_root_url,
>                              const char **repos_uuid,
>                              svn_revnum_t *youngest_rev,
>                              const char *path_or_url,
>                              const svn_opt_revision_t *peg_revision,

None of the outputs depend on PEG_REVISION.

What is it for?  Ensuring that ENOENT errors are/aren't raised properly
as PATH_OR_URL does/doesn't exist at that revision?  Could it be an
svn_revnum_t?

>                              svn_client_ctx_t *ctx,
>                              apr_pool_t *pool);
> 
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=2839225
> 
> To unsubscribe from this discussion, e-mail: [issues-unsubscribe@subversion.tigris.org].

Re: [Issue 4019] New - API request: svn_client_get_repos_info()

Posted by "C. Michael Pilato" <cm...@collab.net>.
On 09/15/2011 10:49 AM, Daniel Shahaf wrote:
> None of the outputs depend on PEG_REVISION.
> 
> What is it for?  Ensuring that ENOENT errors are/aren't raised properly
> as PATH_OR_URL does/doesn't exist at that revision?  Could it be an
> svn_revnum_t?

Oh, I was mostly following the pattern used by the rest of the svn_client.h
API.  Maybe there's no use for peg_revision after all.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand