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

Re: [Issue 4124] New - Give servers sufficient means to disallow commits from clients based on version numbers

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Mon, 20 Aug 2012 11:02:42 -0400

On 08/20/2012 10:36 AM, C. Michael Pilato wrote:
> [1] mod_dav_svn is an exception here, because the log message is
> PROPPATCHed into the transaction after it's creation. start-commit
> hooks would have to assume that a non-existent log message is simply
> suffering delayed arrival, and their pre-commit hook will have to
> continue doing this validation just as it does today.

Actually, it occurs to me that HTTPv2 provides just the fix for this!
Rather than send an empty POST followed by the PROPPATCH for the log message
(and user revprops), couldn't we embed all those revprops in the POST body
itself?! Might have just found a way to drop yet another network request
from commits over HTTP!

ALSO: I got a private mail response to my previous post on this thread
which expressed a good deal of excitement regarding the possibility of
start-commit having access to the revprops (especially svn:log). Apparently
this long-standing frustration is more frustrating than I even realized.
Something to consider.

C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2012-08-20 17:03:17 CEST

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