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

Re: mod_dav question: how to obtain additional client-provided information in db_remove()?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 30 Jul 2010 14:42:03 -0400

On 07/30/2010 01:21 PM, Daniel Shahaf wrote:
> * How can I teach 'propdel --revprop' to pass an expected (pre-deletion) value
> of the revprop?
>
> (yeah, I could just make the client code always go via <D:set> and never via
> <D:remove>, but that's ugly isn't it?)

Sometimes "ugly" is all we can manage when it comes to mod_dav. A generic
DAV client and provider don't have a compelling reason to pass along the
information you're trying to add here, so I won't come down hard on the
mod_dav APIs in this case. But the fact of the matter is that they don't
give us what we need. So we work around them. Or we tweak them (and then
we still work around them for compat).

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2010-07-30 20:47:45 CEST

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.