info-cvs
[Top][All Lists]
Advanced

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

Re: ||- howto commit comments to the source file?? -||


From: Frederic Brehm
Subject: Re: ||- howto commit comments to the source file?? -||
Date: Thu, 16 May 2002 09:09:56 -0400

For *.h and *.cpp files, add the following lines

/*
        $Log$
*/

This will cause problems when you merge branches, though. Check to see if the auditors will accept the result of the following command:

        cvs log *.h *.cpp

At 9:31 -0300 5/16/02, gaelen gallashant wrote:
I am a SysAdmin that has been asked to solve a CVS question for the company
I am working with.  The main outcome that is wanted would be for people to
have the ability to add comments to the actuall source code in the
repository.  I know with the linux and OSX system that I use comment files
are always shown by having the " # " in front of it.

Is there a way to make this possible using cvs??  the problem that the
developer presented to me is pasted below.

Cheers
Gaelen

--------------------------------------------------------------------------

"I need to know what files and the commands to specify in the files for
logging the history of changes in source files. I suspect this is need
for CFR auditing. The URL below should have this information.

Specifically, when a file is committed to CVS I need the commit
comment from the user placed into the source file. My hope is that the
comment will be placed on the alter blocks as seen by a CVS diff. The
only files that should be impacted by this are *.h and *.cpp files."

--
Fred Brehm, Sarnoff Corporation, address@hidden
http://www.sarnoff.com/digital_video_informatics/vision_technology/index.asp



reply via email to

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