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

Re: [BUG] svn log --verbose reports the same number of lines

From: Max Bowsher <maxb_at_ukf.net>
Date: 2003-09-13 11:14:26 CEST

Francois Beausoleil wrote:
> Hi !
>
> When I issue a log subcommand, SVN is helpful and returns the number of
> lines in the log message:
> K:\leadmanagement>svn log -r PREV
> ------------------------------------------------------------------------
> rev 830: fbos | 2003-09-12 22:40:38 -0400 (Fri, 12 Sep 2003) | 4 lines
>
> * src/java/core/jobnudge/servlets/DelayAction.java:
> Used the new CalendarHelper methods to calculate tomorrow's date and
> two days
> from now.
>
> ------------------------------------------------------------------------
>
> When I issue a verbose log subcommand, SVN is still helpful, but reports
> the same number of lines as what was previously mentionned. The new line
> count does not include the changed paths count:
> K:\leadmanagement>svn log --verbose -r PREV
> ------------------------------------------------------------------------
> rev 830: fbos | 2003-09-12 22:40:38 -0400 (Fri, 12 Sep 2003) | 4 lines
> Changed paths:
> M
>
/rac/leadmanagement/trunk/src/java/core/jobnudge/servlets/DelayAction.java
>
> * src/java/core/jobnudge/servlets/DelayAction.java:
> Used the new CalendarHelper methods to calculate tomorrow's date and
> two days
> from now.
>
> ------------------------------------------------------------------------
>
> I would believe this to be a bug, but it might not be in the opinion of
> the developers. Should I file an enhancement request with a reproduction
> recipe ?

I'd suggest no - the line count is primarily there to make the output
reliably machine-parsable. The log message needs to be counted, because the
user can specify any contents - including lines which look like the
end-of-log line of dashes. The "Changed paths" section, on the other hand,
adheres to a regular format, and doesn't need to be counted to determine its
end with certainty.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 13 11:15:32 2003

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.