After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 378738 - Incorrect usage of CVS header tags
Incorrect usage of CVS header tags
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Help
git master
Other Linux
: Normal trivial
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-11-24 06:51 UTC by Nickolay V. Shmyrev
Modified: 2006-11-27 15:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nickolay V. Shmyrev 2006-11-24 06:51:17 UTC
For example in gimp-new-layer-dialog you can find:

      <revision lang="de">                                                      
        <revnumber>$Revision$</revnumber>                                       
        <date>2005-11-03</date>                                                 
        <authorinitials>a.w</authorinitials>                                    
      </revision> 

That's wrong, actually it should be $Revision: without $ and with : in the end. Only in that case it will be replaced automatically.

      <revision lang="fr">                                                      
        <revnumber>$Revision: 1.7 $</revnumber>                                 
        <date>2006-01-28</date>                                                 
        <authorinitials>j.h</authorinitials>                                    
      </revision>

See docs here:

http://www.eyrie.org/~eagle/notes/cvs/file-headers.html
Comment 1 Róman Joost 2006-11-24 07:58:20 UTC
Thanks for the bug report. I'll fix it right away ...
Comment 2 Róman Joost 2006-11-24 07:58:43 UTC
-> assign
Comment 3 Michael Natterer 2006-11-24 09:23:49 UTC
If that is so, why does the webpage you pasted tell us to use
$Revision$ then?
Comment 4 Sven Neumann 2006-11-24 09:26:07 UTC
You should use either $Revision$ or $Revision:...$ (with the dots replaced by the actual revision number. Thus, if you start a new file, just use $Revision$ and CVS (or actually RCS) will do the substitution to the second form and will take care of updating the version then.

See also http://www.stud.uni-hannover.de/stud/serv/cvsdoc/cvs_17.html
Comment 5 Sven Neumann 2006-11-24 09:57:33 UTC
The problem here is that some files in the gimp-help-2 CVS module have the substitution mode set incorrectly. To fix this, use 'cvs admin -kkv <file>'.
Comment 6 Sven Neumann 2006-11-27 15:17:07 UTC
According to the ChangeLog this is FIXED.