bugConcurrent Versions System - Bugs: bug #44537, "cvs annotate" shows...

 
 

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

Submitter:  None
Submitted:  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: 
Fixed Release:  None Fixed Feature Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 13 Mar 2015 06:05:49 PM UTC, original submission:  

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code