View Full Version : How to access CVS's "commit comments"
Cameron Laird
07-17-2003, 11:05 AM
What *should* I call them--"commit comment"? "log message"? I
find their rubric poorly standardized from one organization to
another.
In any case, is there any "cvs $COMMAND ..." way to access them
other than
cvs log $FILE
? "cvs log ..." forces a lot of header on me I don't want (for
the current application), and I was hoping to be able *conveni-
ently* to ask for just the revision comment.
--
Cameron Laird <Cameron@Lairds.com>
Business: http://www.Phaseit.net
Personal: http://phaseit.net/claird/home.html
John Mellor
07-17-2003, 05:49 PM
On Thu, 17 Jul 2003 19:05:07 +0000, Cameron Laird wrote:
.... is there any "cvs $COMMAND ..." way to access them other than cvs log $FILE ? "cvs log ..." forces a lot of header on me I don't want (for the current application), and I was hoping to be able *conveni- ently* to ask for just the revision comment.
You can omit all the label information with
cvs log -N <target>
and
cvs log -R <rev1>-<rev2> <target>
and several other variants depending on what the real intent is.
You need to peruse the Cederqvist...
Cameron Laird
07-17-2003, 10:43 PM
In article <pan.2003.07.18.01.49.00.720216@mellor.mellor.kw.net>,
John Mellor <john@mellor.mellor.kw.net> wrote:On Thu, 17 Jul 2003 19:05:07 +0000, Cameron Laird wrote:... is there any "cvs $COMMAND ..." way to access them other than cvs log $FILE ? "cvs log ..." forces a lot of header on me I don't want (for the current application), and I was hoping to be able *conveni- ently* to ask for just the revision comment.You can omit all the label information with cvs log -N <target>and cvs log -R <rev1>-<rev2> <target>and several other variants depending on what the real intent is.You need to peruse the Cederqvist...
Grrr. That is, thanks much; now I know to look in the
Cederqvist, *and* I know that the reference I had on
hand is incomplete.
I have a related question. Your <target> needs to be
a relative filename which both is present in the live
filesystem, *and* the CVS repository, correct? I il-
lustrate: my CVS project has a file
subproject1/subdir2/myfile.c
To use "cvs log ...", I need to write
cvs log [options] subproject1/subdir2/myfile.c
AND I need to be in a directory which has a
subproject1/subdir2/myfile.c
true?
--
Cameron Laird <Cameron@Lairds.com>
Business: http://www.Phaseit.net
Personal: http://phaseit.net/claird/home.html
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2008, Jelsoft Enterprises Ltd.