info-cvs
[Top][All Lists]
Advanced

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

Re: log message in the source file


From: Mark E. Hamilton
Subject: Re: log message in the source file
Date: Mon, 18 Dec 2006 09:22:13 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050920

Ajlu,

Please send all your replies to the list, not private e-mail.

ajlu wrote:
Mark E. Hamilton wrote:

ajlu wrote:

Hi all, I am new to CVS, I wish to add the log message in the source
file, When ever I commit.  let me know the command to achieve this.

http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_16.html#SEC126

http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs.html


Hi Mark,

Thanks for your reply, I think i didnt explain my query properly, I
need to add the log message (changes made by me) in the source file,
which was committed by me.  How to add these log messages each time
while committing.

For example I gave one file for your ref (this is not a full file)

# Revision 1.4  1999/06/28 21:41:28  ajlu
#
# more make file fixes
#
# Revision 1.3  1999/06/09 04:08:58  ajlu
#
# This makefile now correctly does diving makes.
#
# Revision 1.2  1999/06/09 03:47:14  ajlu
# new makefile included
#
#

************************************************
How can I create the above log messages
each time while commit  ( the below part
is section of the source file neglect it)
*************************************************

It's still not clear how what you are asking now is different that what you asked the first time. There are three ways to add commit messages when you commit changes; these are described in the 'cvs commit' manual section I sent you above:

1. Type it in manually when the cvs commit command prompts you for it.
2. Pass it on the command line with the '-m "message"' option.
3. Put it in a file, and pass the file with the '-F file' option.

There is a way to add a message after the commit, but it is not for people unfamiliar with repository administration. See the '-m rev:msg' option here:

http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_16.html#SEC118


If you are asking how to set up a standard template for you log messages see this:

http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_18.html#SEC178

--
----------------
Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.
505-844-7666





reply via email to

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