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

Re: Dreamweaver and SVN 1.2 Locking

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-11 19:14:57 CEST

On May 11, 2005, at 12:09 PM, Mark Phippard wrote:
>
> When I do it with RC3 + fix, it works. I actually get two
> commits. The
> first an empty add, the second a modify with the content.

Yes, this is to be expected. It's what happens when a DAV client
does a LOCK on a nonexistent path as a way of "reserving" the
filename. Many clients do this, including MSWord. The basic pattern
is: LOCK nonexistent path, PUT path.

The latest WebDAV spec says that when a LOCK comes in on a
nonexistent path, the server should react by creating a locked, 0-
byte file. That explains the initial "add" commit that you see.
Then when the server follows up with a PUT, you get the "modify" commit.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 11 21:31:00 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.