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

Re: svn log, XML, and line change count

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-02-08 19:46:13 CET

On 2/8/07, Thomas Wicklund <wicklund@eskimo.com> wrote:
> The default svn log command tells you the number of lines changed. It
> has a format something like:
>
> r232 | name | 2007-02-08 11:15:59 -0700 (Thu, 08 Feb 2007) | 34 lines
>
> However, if I ask for XML output, the number of lines changed is not
> included.

That number is not the number of lines changed :-) It's the number of
lines in the log message!

> Is there a way to get the number of lines changed from XML
> output? It's a bit easier to parse XML (since I have libraries) but I
> need the number of lines changed.

If you want to know the number of lines changed, you'll need svn diff
in all cases.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 8 19:47:12 2007

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.