info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs log and initial revision line counts


From: Larry Jones
Subject: Re: cvs log and initial revision line counts
Date: Tue, 25 Sep 2001 12:15:15 -0400 (EDT)

Ville Herva writes:
> 
> Is there a reason for that cvs log always shows the line counts for the
> initial revisions as +0 -0?

It doesn't -- it doesn't show line counts at all for the initial revision.

> revision 1.1.1.1
> date: 2001/03/16 07:10:50;  author: vherva;  state: Exp;  lines: +0 -0
> Initial import of linux backup scripts.

That's not the initial revision -- that's the first revision on a
branch.  Normally, the first revision on a branch would show non-zero
line counts; the reason it doesn't is because of the special handling of
the vendor branch -- its first revision is identical to the first
revision on the trunk, so the line counts are correct.  (You would see
the same thing if you forced a commit to a new branch without making any
changes.)


> It would make more sense to me that it would show for example '+112 -0' for
> a 112-line file.
> 
> Not that it's hugely important, but it confuses my statistic scripts.

If people want CVS to show line counts for the real initial revision, it
wouldn't be too difficult to add.

-Larry Jones

There's a connection here, I just know it. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]