Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[bug #44537] "cvs annotate" shows wrong version of "$Revision:$" line

1 view
Skip to first unread message

anonymous

unread,
Mar 13, 2015, 2:05:58 PM3/13/15
to bug...@nongnu.org
URL:
<http://savannah.nongnu.org/bugs/?44537>

Summary: "cvs annotate" shows wrong version of "$Revision:$"
line
Project: Concurrent Versions System
Submitted by: None
Submitted on: Fri 13 Mar 2015 06:05:49 PM UTC
Category: Bug Report
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release:
Discussion Lock: Any
Fixed Release: None
Fixed Feature Release: None

_______________________________________________________

Details:

If a file contains a "$Revision:$" tag, the "cvs annotate" command prepends
the correct revision number to that line, but it shows the wrong version of
the tag itself. So far, it seems to show the *previous* version of the tag. I
haven't checked other tags.

Behold:

% uname -a
Linux bomb20 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux
% cvs --version

Concurrent Versions System (CVS) 1.12.13-MirDebian-11 (client/server)
[...]
% cvs update -p -r1.1 hello.txt
# $Revision: 1.1 $

Hello ...
% cvs update -p -r1.2 hello.txt
# $Revision: 1.2 $

Hello ...
... and good-bye
% cvs update -p -r1.3 hello.txt
# $Revision: 1.3 $

Hello ...
... and good-bye

Adding another line.
% cvs annotate hello.txt
1.3 (kst 13-Mar-15): # $Revision: 1.2 $
1.1 (kst 13-Mar-15):
1.1 (kst 13-Mar-15): Hello ...
1.2 (kst 13-Mar-15): ... and good-bye
1.3 (kst 13-Mar-15):
1.3 (kst 13-Mar-15): Adding another line.





_______________________________________________________

Reply to this item at:

<http://savannah.nongnu.org/bugs/?44537>

_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/


0 new messages