aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert J. Chassell2001-12-25 15:32:10 +0000
committerRobert J. Chassell2001-12-25 15:32:10 +0000
commitd4bb58885ad7aa49783e98d63ff57355e088d28b (patch)
tree0c0dff71cfbc99e5e99fdc86f323a04ec0167f16
parent744e59f6a86352ab4babfbd85f8d8e5b5e375b5c (diff)
downloademacs-d4bb58885ad7aa49783e98d63ff57355e088d28b.tar.gz
emacs-d4bb58885ad7aa49783e98d63ff57355e088d28b.zip
Explain the difference between the per-file log maintained by the
version control system and the per-directory or per-project ChangeLog.
-rw-r--r--man/files.texi49
1 files changed, 49 insertions, 0 deletions
diff --git a/man/files.texi b/man/files.texi
index 7d952d13126..29647f9042f 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -1135,6 +1135,7 @@ you want to use.
1135@menu 1135@menu
1136* Version Systems:: Supported version control back-end systems. 1136* Version Systems:: Supported version control back-end systems.
1137* VC Concepts:: Words and concepts related to version control. 1137* VC Concepts:: Words and concepts related to version control.
1138* Types of Log File:: The per-file VC log in contrast to the ChangeLog.
1138@end menu 1139@end menu
1139 1140
1140@node Version Systems 1141@node Version Systems
@@ -1219,6 +1220,54 @@ at any time, but requires merging with changes from other users at
1219check-in time. However, CVS can also be set up to require locking. 1220check-in time. However, CVS can also be set up to require locking.
1220(@pxref{CVS Options}). 1221(@pxref{CVS Options}).
1221 1222
1223@node Types of Log File
1224@subsubsection Types of Log File
1225@cindex Types of log file
1226@cindex Log File, types of
1227
1228GNU projects under a revision control system generally possess
1229@emph{two} types of log. These help you keep track of what goes on.
1230
1231One kind of log is the per-file log maintained by the revision control
1232system. This kind of log is called the @dfn{version control log}, or
1233sometimes the @dfn{revision control log}, `@samp{*rcs*} log', or
1234`@samp{*cvs*} log'. The other kind of log is a per-directory or
1235per-project log called the change log or @file{ChangeLog}.
1236
1237@cindex Version control log
1238@cindex Revision control log
1239@cindex Per-file log
1240The per-file log is designed to tell you about each and every change
1241to a file. Each time you check in a change, you fill out a version
1242control log entry. (@xref{Log Buffer, Log Buffer, Features of the Log
1243Entry Buffer}.) Consequently, a per-file log is very detailed, with
1244remarks such as `fixed typo' as well as `re-wrote from scratch'.
1245
1246@cindex Change log
1247@cindex Per-directory log
1248@cindex Per-project log
1249On the other hand, a per-directory or per-project log is intended to
1250provide a chronological record of when and why you and others changed
1251a program. A @file{ChangeLog} should be moderately, but not
1252excessively detailed.
1253
1254A single @file{ChangeLog} file can record changes for all
1255the files in its directory and all its subdirectories. A small
1256program merits one @file{ChangeLog} file; a large program may well
1257merit several @file{ChangeLog} file, one in each major directory.
1258(@xref{Change Log, Change Log, Change Logs}.)
1259
1260You can use the Emacs command @r{@kbd{C-x 4 a}}
1261(@code{add-change-log-entry-other-window}) to add a new entry to a
1262change log file.
1263
1264If you use RCS or CVS, you can generate change log entries
1265automatically from the version control log entries using
1266the @r{@kbd{C-x v a}} (@code{vc-update-change-log}) command.
1267(@xref{Change Logs and VC, Change Logs and VC, Change Logs and VC}.)
1268When you do this, you will probably want to edit and shorten the
1269resulting @file{ChangeLog}.
1270
1222@node VC Mode Line 1271@node VC Mode Line
1223@subsection Version Control and the Mode Line 1272@subsection Version Control and the Mode Line
1224 1273