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

Re: svn commit: r35605 - branches/http-protocol-v2/subversion/mod_dav_svn

From: Greg Stein <gstein_at_gmail.com>
Date: Sat, 31 Jan 2009 01:31:59 +0100

On Fri, Jan 30, 2009 at 23:51, Ben Collins-Sussman <sussman_at_red-bean.com> wrote:
>...
> +++ branches/http-protocol-v2/subversion/mod_dav_svn/repos.c Fri Jan 30 14:51:09 2009 (r35605)
> @@ -3953,6 +3953,34 @@ dav_svn__create_version_resource(dav_res
> }
>
>
> +/* POST handler for commits over HTTP protocol v2.
> +*/
> +int dav_svn__method_post(request_rec *r)
> +{
> + dav_resource *resource;
> + dav_error *derr;
> +
> + derr = get_resource(r, dav_svn__get_root_dir(r),
> + "ignored", 0, &resource);
> + if (derr != NULL)
> + return derr->status;
> +
> + if (resource->info->restype != DAV_SVN_RESTYPE_ME)
> + return HTTP_BAD_REQUEST;
> +
> + /* ### Create a new txn based on HEAD. Remember the UUID. */
> +
> + /* ### Build a 200 CREATED response with two special headers in it:
> +
> + !svn/txn/UUID
> + !svn/txp/UUID
> + */

Eh? You don't want the (repository) UUID in there. That is implied by
the URL leading to *this* repository. You mean the "transaction ID".

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1077461
Received on 2009-01-31 01:32:14 CET

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