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