Ben Collins-Sussman wrote:
> On Thu, Oct 29, 2009 at 4:31 PM, Branko Cibej <brane_at_xbc.nu> wrote:
>
>> It's quite possible that we had such checks in there becasue we wanted
>> compatibility with non-Subversion DeltaV servers or something. Even in
>> that case, the PUT could be conditional -- just adding an
>> If-Unmodified-Since header should safely avoid any PUT races.
>>
>
> Ooh, interesting. Gstein could comment on whether this is feasible...
>
Well, at least according to RFC-2616, it should fit in with the spec. Of
course it's a bit tricky to get the correct date for the header, since
it must be generated by the server in order to avoid clock skew. But the
svn:date of the HEAD-at-start-of-commit should satisfy that consraint
(unless changed by a propset, but doing that is horrible anyway).
-- Brane
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2412901
Received on 2009-10-30 04:02:07 CET