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: Kelly F. Hickel
Subject: RE: log message in the source file
Date: Mon, 18 Dec 2006 10:27:26 -0600

<snip>
> >>
> >>>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:
> 

<snip>
I think you want the $Log$ keyword, see:
http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_12.html#SEC97 

-Kelly




reply via email to

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