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

Re: bad output format design issue: svn log -v format is not parseable :-(

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-04-05 15:24:05 CEST

Marc Haisenko <haisenko@webport.de> writes:

> In the normal command line output I can't think of an alternative as this
> format also has the advantage of being easily parsed with a regexp, although
> you can run into a bug if your regexp is not built carefully enough. But in
> the XML output you could surely make this a tag property pretty
> easily, no ?

Absolutely. And we do:

$ svn log -r 9212 -v --xml
<?xml version="1.0" encoding="utf-8"?>
<log>
<logentry
   revision="9212">
<author>josander</author>
<date>2004-03-26T09:40:14.875951Z</date>
<paths>
...
<path
   copyfrom-path="/trunk/packages/win32-innosetup/templates/paths_inno_src.iss"
   copyfrom-rev="9211"
   action="A">/trunk/packages/win32-innosetup/templates/svn_dynamics.iss</path>
</paths>
...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 5 16:25:47 2004

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.