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

Re: Library interdependencies

From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2000-10-05 01:22:49 CEST

Greg Hudson <ghudson@mit.edu> writes:

> That's a circular dependency, which isn't pretty in the static library
> case. Should I move the XML-producing editor over to libsvn_delta?

Definitely! libsvnsubr/xml.c is supposed to be a grab-bag of small
utility routines that somehow help other libraries deal with xml.
(libsvn_wc uses internal xml extensively, for example.)

Needless to say, I would not classify a full editor implementation as
"small". :)

In fact, it's pretty logical to put your editor into libsvn_delta,
since the converse functionality is already in there (a parser to read
the same xml format you produce). If we're planning to use xml as an
interchange format, it makes sense that libraries will use
libsvn_delta to both read *and* write the format.
Received on Sat Oct 21 14:36:10 2006

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.