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

Re: svn commit: r13247 - in trunk/subversion: include libsvn_ra libsvn_ra_dav libsvn_ra_local libsvn_ra_svn libsvn_repos svnserve

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-03-05 23:39:45 CET

On Thu, 3 Mar 2005 sussman@tigris.org wrote:

> Modified: trunk/subversion/libsvn_ra_svn/client.c
> Url: http://svn.collab.net/viewcvs/svn/trunk/subversion/libsvn_ra_svn/client.c?view=diff&rev=13247&p1=trunk/subversion/libsvn_ra_svn/client.c&r1=13246&p2=trunk/subversion/libsvn_ra_svn/client.c&r2=13247
> ==============================================================================
> --- trunk/subversion/libsvn_ra_svn/client.c (original)
> +++ trunk/subversion/libsvn_ra_svn/client.c Thu Mar 3 14:43:32 2005
> @@ -1116,6 +1116,50 @@
> return SVN_NO_ERROR;
> }
>
> +
> +static svn_error_t *ra_svn_stat(svn_ra_session_t *session,
> + const char *path, svn_revnum_t rev,
> + svn_dirent_t **dirent, apr_pool_t *pool)
> +{
> + ra_svn_session_baton_t *sess_baton = session->priv;
> + svn_ra_svn_conn_t *conn = sess_baton->conn;
> + apr_array_header_t *list = NULL;
> + const char *kind, *cdate, *cauthor;
> + svn_revnum_t crev;
> + svn_boolean_t has_props;
> + apr_uint64_t size;
> + svn_dirent_t *the_dirent;
> +
> + SVN_ERR(svn_ra_svn_write_cmd(conn, pool, "stat", "c(?r)", path, rev));
> + SVN_ERR(handle_auth_request(sess_baton, pool));

Here, you need to convert an UNKNOWN_CMD error to RA_NOT_IMPLEMENTED. NOte
that this was factored out on the locking branch.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 5 23:38:13 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.