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
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Release:  Fixed Release:  None
Fixed Feature Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

History

No changes have been made to this item

Back to the top

Powered by Savane 3.16.
Corresponding source code