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

Re: DAV locking question

From: Greg Stein <gstein_at_lyra.org>
Date: 2005-01-14 00:47:46 CET

On Thu, Jan 13, 2005 at 10:48:24AM +0100, Julian Reschke wrote:
> Ben Collins-Sussman wrote:
>...
> >Talked to gstein on IM, and here's a better solution:
> >
> > * have the svn client add an extra subversion namespace or attribute
> >to the <D:owner> attribute when sending the data.

Just a namespace wouldn't do it. We'd do something like:

  <D:owner S:svn-client="yes">...</D:owner>

Where D: corresponds to DAV:, and S: is the standard SVN namespace.

> > * have mod_dav_svn look for that special info. if present, store only
> >the CDATA in the repository. if not present, store the entire chunk of
> >XML in the repository.
>
> Wouldn't it even be simpler to check for plain text values in DAV:owner,
> and not to use an extension at all?

Nope. If some other client sent a "plain text" cdata *and* a custom
attribute on DAV:owner, then you wouldn't remember to put that
attribute back when you built a DAV:owner element in a response.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 14 00:44:06 2005

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.