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

More DAV questions

From: <cmpilato_at_collab.net>
Date: 2001-09-12 17:14:37 CEST

Looking at property handling over DAV, specifically that which occurs
during updates. I can see how the update editor in mod_dav_svn makes
a note to itself when a node property has changed, and then in
update.c:close_helper() if a property has changed, it generates XML
which appears to be a command to tell the client side to "fetch all
the properties for this node".

Currently, the client side (in libsvn_ra_dav/fetch.c:start_element())
gets that XML directive and does nothing. That's fine, that's why I'm
looking at it, and hats off to Greg S. for noting in the todo's
exactly what needs to be done. :-)

But my concern is why mod_dav_svn doesn't at *least* pass the names of
the properties the client needs to grab. update.c:upd_change_xxx_prop()
just sez, "Well, thanks for telling me the name and new value of the
property, but I don't really care." I assume that this was done to
save on network traffic, but I'm having trouble seeing the tradeoff as
a valuable (or valid) one. My assumption could be entirely wrong,
though, as I'm still working to understand how DAV works.

Greg (or Joe?), could you please shed some more light here? Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:40 2006

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