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

Re: 404 error for each newly added file

From: Branko Cibej <brane_at_xbc.nu>
Date: Fri, 30 Oct 2009 04:01:51 +0100

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

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.