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

Re: Little XML delta question

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-10-04 23:10:57 CEST

You just asked the question that broke the camel's back, so to
speak. :-)

We knew that dirent properties are only meaningful if Subversion
supports hard links. Supporting them raises a number of thorny
issues, of which XML representation is only one, and it's not clear
that anyone is really clamoring for them, especially given that
Subversion will support symlinks just fine. Some developers (Greg
Stein is one, if I remember correctly), long ago advocated just
getting rid of the hard links.

So, unless anyone thinks this a wildly bad thing (which I doubt),
let's just punt the hard link support for now.

Whic means the change_dirent_prop() editor callback goes away, so you
simply don't have to implement it. I'll get rid of it everywhere else
in the code, you just get rid of it in xml.c.

Sound okay?,

Greg Hudson <ghudson@mit.edu> writes:
> I'm almost done with the XML delta output editor. One question:
> If I get a call to change_dirent_prop, I'm supposed to output
> something like:
> <add name='whatever'>
> <prop-delta>
> <set name='name'>value</set>
> <!-- and later, when we go on to something else -->
> </prop-delta>
> </add>
> But how do I know whether to output "add" or "replace" at the top?
> Does it particularly matter?
Received on Sat Oct 21 14:36:10 2006

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