Ascalonian Asked: 2010-04-03 08:47:48 +0800 CST2010-04-03 08:47:48 +0800 CST 2010-04-03 08:47:48 +0800 CST Automatically add text on CVS Commit? 772 I was curious if there was a way to add a hook or something into CVS so that when you commit a text file or into CVS, it will add a certain string at the end of the file? For example, say something like: "Committed by Joe Schmoe on 03/11/2010" cvs hook 1 Answers Voted Chris Lercher 2010-04-03T09:09:49+08:002010-04-03T09:09:49+08:00 The usual way to do something like that is CVS keyword expansion: http://cvsbook.red-bean.com/cvsbook.html#Using%20Keyword%20Expansion A small drawback is, that you'll have the $ signs in the file, but many people are used to this convention.
The usual way to do something like that is CVS keyword expansion: http://cvsbook.red-bean.com/cvsbook.html#Using%20Keyword%20Expansion
A small drawback is, that you'll have the
$
signs in the file, but many people are used to this convention.