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

Re: [PROPOSAL] Drop XML from .svn/entries

From: Branko Čibej <brane_at_xbc.nu>
Date: 2006-04-12 12:29:16 CEST

Justin Erenkrantz wrote:
> On 4/6/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
>
>> I think YAML is very cool, but I am totally -1 to adding a dependency
>> on a YAML parsing library to Subversion. We already need XML for
>> webdav anyway, so if we're going to use a 'standardized' format, we
>> might as well just use that.
>>
>
> I wonder how the ConfigParser / INI format would do? We already use
> that in a bunch of other places and have all the parsing code in
> libsvn_subr.
It woudl do just great, except that we'd probably have to optimize it a
bit (it currently does character-by-character reads from a stream, but a
buffered stream would fix that).

The really nice part is that, unlike the XML parser which must be taught
in advance about new tags when a format changes, the config file parser
doesn't have to know about section and value names. So we could embed
the entries version number in the file itself and interpret it /after/
we've parsed the file.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 12 12:31:41 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.