On 08/20/2012 10:36 AM, C. Michael Pilato wrote:
>  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