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

Re: 'svn log --diff' foils log output parsers

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 23 Jun 2011 15:32:37 -0400

On 06/23/2011 03:18 PM, Mark Phippard wrote:
> Why do we have to do anything? There is no danger of breaking
> existing scripts here because this requires adding an additional
> option. Do we just feel like it would be impossible to parse the
> current output? Can't --xml be used?

The current output will have to be ... more heuristically parsed, yes. (You
could look for a line of 72 hyphens followed by a line that begins with 'r',
I suppose.) --xml is an option, always, but a bit like using a Buick to
swat a fly for most folks.

But as you've noted, the *default* output of 'svn log' and 'svn log -v'
haven't changed, so maybe that's all we need to care about. And the log
line count is still accurate in the --diff case, if not altogether as
useful. So if the community thinks this is a non-issue, that's fine -- I
don't feel strongly enough about it to hang on it.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-06-23 21:33:11 CEST

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.