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

Fixing issue 644

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-04-18 00:34:50 CEST


I am looking at fixing issue 644
as it is one I trigger with my usage pattern. This is where a file
being added will overwrite an existing file over ra_dav since the
conflict is not detected.

There doesn't appear to be a way to detect the conflict on the server
since in dav_svn_open_stream() in mod_dav_svn/repos.c there doesn't
appear to be a way to distinguish updates from creates. Without
wishing to spend hours reading WebDAV specs, am I missing something?

Assuming it is hard for the server to do this, I was thinking of
getting the client to call svn_ra_dav__get_props_resource on the path
to be added, and detecting the conflict by the fact that the function
doesn't fail. Does this sound like the right solution?

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 18 00:35:45 2002

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.