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

Re: [PATCH] comment stripping in config files

From: John Peacock <jpeacock_at_rowman.com>
Date: 2006-04-27 21:14:09 CEST

Peter N. Lundblad wrote:
> If we add comment stripping for values to the config parser, how would you add
> a value with # characters?

The config parser is already ignoring lines _starting_ with the
octothorpe[1], so why is it such a stretch to apply the very well
recognized standard of treating:

        all text from the # to the end of the line is a comment

to data lines. If someone ever comes up with a need to escape that (or
the plethora of other characters with special meaning, like '=' for
example), the config parser is going to have to be changed anyways.

> Personally, I think it was a mistake to not have a general
> escaping mechanism in the config file in the first place, but that's
> hard to undo now.

Why don't we simply convert the config files to XML, since we aren't
using that for working copy files anymore (like conservation of energy).
<duck>

John

1. http://www.worldwidewords.org/weirdwords/ww-oct1.htm

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 27 21:15:27 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.