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

Re: svnlook xml output

From: Filip Kolendo <filip.kolendo_at_primesoft.pl>
Date: Thu, 10 Apr 2008 16:52:39 +0200

John Peacock wrote, On 2008-04-10 16:03:
> Filip Kolendo wrote:
>> $ svnlook lock /svn/repos tree.jpg
>> UUID Token: opaquelocktoken:ab00ddf0-6afb-0310-9cd0-dda813329753
>> Owner: harry
>> Created: 2005-07-08 17:27:36 -0500 (Fri, 08 Jul 2005)
>> Expires:
>> Comment (1 line):
>> Rework the uppermost branches on the bald cypress in the foreground.
>
> Like all/most svn output, that output is specifically designed to be
> machine readable:
>
> <keyword>:<SP>value<LF>
>
> There is even a hint on the one possibly multiline value (Comment).
>
> XML output is not necessary to make output trivial to parse (in fact,
> I find XML to be grossly inefficient for many situations, this one
> being a prime example).
>
> HTH
>
> John

Ok, I know output is parseable.
Although I think XML is better format. For some reasons svn command has
xml output (svn info, for example, is also <keyword>:<SP> formatted when
no --xml switch is used).

Anyway, thank you for your answer. I will parse result as it is.

Regards,
Filip

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-10 16:34:01 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.