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

Re: CVS update: subversion/subversion/include svn_delta.h

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-10-02 23:37:17 CEST

On Mon, Oct 02, 2000 at 04:57:10PM -0400, Greg Hudson wrote:
> > I'd suggest that we *not* document a depth-first behavior. It might
> > actually become quite difficult to change that later on. People may
> > (for better or worse) encode things within the batons which depend
> > on depth-first behavior.
>
> > Heck, in any case -- the DAV checkout code uses a breadth-first
> > traversal.
>
> So how do you propose to write an editor which generates XML output?

No idea :-)

It certainly does present a problem if you are going to try and have the XML
reflect a tree, huh? I might recommend that the XML which is generated would
look something like:

<tree-delta>
  <directory "/a">
  ...
  </directory>
  <directory "/a/b">
  ...
  </directory>
  <directory "/a/b/c">
  ...
  </directory>
</tree-delta>

Of course, the above format can't be handled by any of our XML code at the
moment, so there is a definite disconnect between our current XML defn and
the implicit capabilities of the editor interface.

You raise a good point, and I don't really have much more of an idea than
that.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:09 2006

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