[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add tagging info within perl comments/header
From: |
Todd Denniston |
Subject: |
Re: Add tagging info within perl comments/header |
Date: |
Wed, 13 Oct 2004 11:21:41 -0500 |
Kevin Old wrote:
>
> Hello everyone,
>
> Please forgive this basic question, but after searching google for
> "cvs tagging in header" I have not turned up anything and am not
> really sure what other term(s) to use.
>
> I've seen these types of headers used in various languages, and would
> like to add them to my own.
>
<SNIP>
> # $Log: Parser.pm,v $
<SNIP>
> Will someone please point me to the documentation that shows how I can do
> this?
>
> Thanks,
> Kevin
You are looking for the RCS keywords, in particular $Log:$ [1].
however I think many people[2] would advise you against using them, as they
cause problems[3] when merging[4], and you can get the same data from CVS
directly using `cvs log` or `cvs2cl`[5], or some other cvs logging tool.
[1] https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_12.html#IDX188
[2]
http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=rcs+keywords&submit=Search%21&idxname=info-cvs&max=20&result=normal&sort=score
http://lists.gnu.org/archive/html/info-cvs/2001-07/msg00190.html
http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=%24Log%24&submit=Search%21&idxname=info-cvs&max=10&result=normal&sort=score
[3] https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_12.html#SEC102
[4] https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_5.html#SEC64
[5] http://www.red-bean.com/cvs2cl/
Happy reading.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter