[Top][All Lists]

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

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

From: anonymous
Subject: [bug #44537] "cvs annotate" shows wrong version of "$Revision:$" line
Date: Fri, 13 Mar 2015 18:05:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36


                 Summary: "cvs annotate" shows wrong version of "$Revision:$"
                 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
         Discussion Lock: Any
           Fixed Release: None
   Fixed Feature Release: None



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.


% 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:


  Message sent via/by Savannah

reply via email to

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