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

Re: cvs log equivalent

From: Paul Graham <pgraham_at_oasys-ds.com>
Date: Fri, 18 Mar 2011 11:28:46 -0700 (PDT)

Andy,

Thanks for the reply, but svn log --verbose does not do what I asked about.
What I'm interested in is something like cvs log which shows the number
of lines affected by the change, e.g., "lines: +10 -5".

Paul
----- Original Message -----
From: "Andy Levy" <andy.levy_at_gmail.com>
To: "Paul Graham" <pgraham_at_oasys-ds.com>
Cc: users_at_subversion.apache.org
Sent: Friday, March 18, 2011 2:20:23 PM
Subject: Re: cvs log equivalent

On Fri, Mar 18, 2011 at 09:39, Paul Graham <pgraham_at_oasys-ds.com> wrote:
> SVN experts:
>
> The cvs log command includes information about the size of each change:
>
> revision 1.14
> date: 2010-03-13 18:26:55 -0500;  author: pgraham;  state: Exp;  lines: +331 -288;
> Rewrote function.
> ----------------------------
> revision 1.13
> date: 2010-03-04 22:17:56 -0500;  author: pgraham;  state: Exp;  lines: +4 -3;
> Minor cleanup.
>
> It's useful to see when a major change was made to a file.
>
> The svn log command lists only log messages, with no information about the
> magnitude of each change.  In fact, I was confused for a while by the svn log
> output format.  It is somewhat similar to the cvs log file output, but the
> "lines" field is only the number of lines in the log message.  It has nothing
> to do with the actual change made to the file:
>
> ------------------------------------------------------------------------
> r7327 | pgraham | 2008-03-07 19:33:42 -0500 (Fri, 07 Mar 2008) | 2 lines
>
> Check for null pointer.
>
> ------------------------------------------------------------------------
> r7143 | pgraham | 2008-02-07 20:55:01 -0500 (Thu, 07 Feb 2008) | 2 lines
>
> Completely rewrite module.
>
>
> Is there any way to get an output similar to cvs log?

Try svn log --verbose

Always look to svn help <command> first when you have a question about
how a command works. The help provided by Subversion is pretty good.
Received on 2011-03-18 19:29:17 CET

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.