Using keyword expansion in CVS
One rather nice feature of cvs is the ability to use keyword expansion (or keyword substitution), this allows for rather nice tracking of stats within the file itself.
One example of using the ID tag can be demonstrated like this:
$Id: keywords.html,v 1.11 2008/03/28 04:37:40 erhanyi Exp $
All that cvs requires is that you insert: $Id: $ all on one line. During the commit process, that keyword is automatically expanded to fill out the proper information.
Keyword options
$Author: erhanyi $
$CVSHeader$
$Date: 2005/07/29 19:41:45 $
$Header: /home/cvs/keyword_list.html,v 1.7 2005/07/29 19:41:45 willn Exp $
$Id: keyword_list.html,v 1.7 2005/07/29 19:41:45 erhanyi Exp $
$Name: $
$Locker: $
$RCSfile: keyword_list.html,v $
$Revision: 1.7 $
$Source: /home/cvs/keyword_list.html,v $
$State: Exp $$Log: keyword_list.html,v $
No comments:
Post a Comment