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

Re: [PATCH] "svnadmin dump": An optional XML output format.

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2002-12-22 19:26:04 CET

On Sun, 22 Dec 2002, [UTF-8] Branko Œibej wrote:

> David Summers wrote:
> > The property contents are XML escaped. The file-content is
> > XML escaped if it is text and is base64 encoded if it is binary
> > (anything with svn:mime-type property where the property value doesn't
> > start with "text").
> >
> *bonk*
> Property contents can be binary, too. So you'd have to base64 them,
> because we don't have meta-data for props. Special-caseing text vs.
> binary files is also a bit dubious; who's going to read your XML dump?
> If its people, good luck to them. If it's programs, I suspect base64
> coding is faster than XML escaping.

Ouch, I didn't realize that. Thanks for the info.

> That's all beside the point, though. I fail to see how an XML format is
> better than our existing dump format.
> (Dumping logs in XML is different -- there are lots of useful uses for
> XML-dumped log messages.)

I'm starting to come to agreement on this. I've got a perl script now
that takes the "svnadmin dump" output and XMLizes it. I'll keep it in the
wings to bring out if I ever find a good use for XMLizing the dump output.

Thanks for everyone's comments. I still think it might be useful in the
future but I don't have a good use case for it at the moment that can
justify either putting it into the "svnadmin dump" code.

One good result. I've learned a LOT more about Subversion's internals in
the last couple of days. :-)

David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 22 19:26:51 2002

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