On Mon, 7 Mar 2005 sussman@tigris.org wrote:
> Modified: branches/locking/subversion/libsvn_ra_svn/client.c
> Url: http://svn.collab.net/viewcvs/svn/branches/locking/subversion/libsvn_ra_svn/client.c?view=diff&rev=13287&p1=branches/locking/subversion/libsvn_ra_svn/client.c&r1=13286&p2=branches/locking/subversion/libsvn_ra_svn/client.c&r2=13287
> ==============================================================================
> --- branches/locking/subversion/libsvn_ra_svn/client.c (original)
> +++ branches/locking/subversion/libsvn_ra_svn/client.c Mon Mar 7 10:45:46 2005
> @@ -1181,9 +1206,16 @@
> svn_boolean_t has_props;
> apr_uint64_t size;
> svn_dirent_t *the_dirent;
> + svn_error_t *err;
>
> SVN_ERR(svn_ra_svn_write_cmd(conn, pool, "stat", "c(?r)", path, rev));
> - SVN_ERR(handle_auth_request(sess_baton, pool));
> + err = handle_auth_request(sess_baton, pool);
> +
> + if (err && err->apr_err == SVN_ERR_RA_SVN_UNKNOWN_CMD)
> + return svn_error_create(SVN_ERR_RA_NOT_IMPLEMENTED, err,
> + _("stat not implemented"));
> + SVN_ERR(err);
> +
This was factored out into a separate function (handle_unsupported_cmd) 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 Mon Mar 7 22:18:04 2005