From ee0aacd375d49654955c5acd74a3cdbe5e798bc1 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Wed, 11 Jul 2001 13:22:17 +0000 Subject: [PATCH] Add more details about the "cvs log" command. PR: docs/28730 Submitted by: Giorgos Keramidas --- .../articles/committers-guide/article.sgml | 40 ++++++++++++++++--- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/en_US.ISO8859-1/articles/committers-guide/article.sgml b/en_US.ISO8859-1/articles/committers-guide/article.sgml index b282a70c69..6865c416cb 100644 --- a/en_US.ISO8859-1/articles/committers-guide/article.sgml +++ b/en_US.ISO8859-1/articles/committers-guide/article.sgml @@ -19,7 +19,7 @@ - $FreeBSD: doc/en_US.ISO8859-1/articles/committers-guide/article.sgml,v 1.73 2001/06/22 08:18:55 nik Exp $ + $FreeBSD: doc/en_US.ISO8859-1/articles/committers-guide/article.sgml,v 1.74 2001/07/08 01:17:53 dd Exp $ 1999 @@ -519,11 +519,11 @@ You'll almost certainly get a conflict because - of the $Id: article.sgml,v 1.74 2001-07-08 01:17:53 dd Exp $ (or in FreeBSD's case, + of the $Id: article.sgml,v 1.75 2001-07-11 13:22:17 nik Exp $ (or in FreeBSD's case, $FreeBSD$) lines, so you'll have to edit the file to resolve the conflict (remove the marker lines and - the second $Id: article.sgml,v 1.74 2001-07-08 01:17:53 dd Exp $ line, leaving the original - $Id: article.sgml,v 1.74 2001-07-08 01:17:53 dd Exp $ line intact). + the second $Id: article.sgml,v 1.75 2001-07-11 13:22:17 nik Exp $ line, leaving the original + $Id: article.sgml,v 1.75 2001-07-11 13:22:17 nik Exp $ line intact). @@ -580,8 +580,38 @@ View log entries with the log command. - &prompt.user; cvs log shazam + + If shazam is a file, this will print a + header with information about this file, such + as where in the repository this file is stored, which revision is + the HEAD for this file, what branches this file + is in, and any tags that are valid for this file. Then, for each + revision of this file, a log message is printed. This includes + the date and time of the commit, who did the commit, how many lines + were added and/or deleted, and finally the log message that the + committer who did the change wrote. + + If shazam is a directory, then the log + information described above is printed for each file in the + directory in turn. Unless you give the to + log, the log for all subdirectories of + shazam is printed too, in a recursive + manner. + + Use the log command to view the history of + one or more files, as it's stored in the CVS repository. You can + even use it to view the log message of a specific revision, if you + add the to the + log command: + + &prompt.user; cvs log -r1.2 shazam + + This will print only the log message for revision + 1.2 of file shazam if it is + a file, or the log message for revision 1.2 of + each file under shazam if it is a + directory.