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

Re: svn commit: r13287 - in branches/locking: . contrib/hook-scripts doc/book/book notes packages/win32-innosetup packages/win32-innosetup/templates packages/win32-innosetup/tools subversion/clients/cmdli

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-03-07 22:19:45 CET

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

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.