diff options
| author | Robert J. Chassell | 2001-12-25 15:32:10 +0000 |
|---|---|---|
| committer | Robert J. Chassell | 2001-12-25 15:32:10 +0000 |
| commit | d4bb58885ad7aa49783e98d63ff57355e088d28b (patch) | |
| tree | 0c0dff71cfbc99e5e99fdc86f323a04ec0167f16 | |
| parent | 744e59f6a86352ab4babfbd85f8d8e5b5e375b5c (diff) | |
| download | emacs-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.texi | 49 |
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 | |||
| 1219 | check-in time. However, CVS can also be set up to require locking. | 1220 | check-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 | |||
| 1228 | GNU projects under a revision control system generally possess | ||
| 1229 | @emph{two} types of log. These help you keep track of what goes on. | ||
| 1230 | |||
| 1231 | One kind of log is the per-file log maintained by the revision control | ||
| 1232 | system. This kind of log is called the @dfn{version control log}, or | ||
| 1233 | sometimes the @dfn{revision control log}, `@samp{*rcs*} log', or | ||
| 1234 | `@samp{*cvs*} log'. The other kind of log is a per-directory or | ||
| 1235 | per-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 | ||
| 1240 | The per-file log is designed to tell you about each and every change | ||
| 1241 | to a file. Each time you check in a change, you fill out a version | ||
| 1242 | control log entry. (@xref{Log Buffer, Log Buffer, Features of the Log | ||
| 1243 | Entry Buffer}.) Consequently, a per-file log is very detailed, with | ||
| 1244 | remarks 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 | ||
| 1249 | On the other hand, a per-directory or per-project log is intended to | ||
| 1250 | provide a chronological record of when and why you and others changed | ||
| 1251 | a program. A @file{ChangeLog} should be moderately, but not | ||
| 1252 | excessively detailed. | ||
| 1253 | |||
| 1254 | A single @file{ChangeLog} file can record changes for all | ||
| 1255 | the files in its directory and all its subdirectories. A small | ||
| 1256 | program merits one @file{ChangeLog} file; a large program may well | ||
| 1257 | merit several @file{ChangeLog} file, one in each major directory. | ||
| 1258 | (@xref{Change Log, Change Log, Change Logs}.) | ||
| 1259 | |||
| 1260 | You 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 | ||
| 1262 | change log file. | ||
| 1263 | |||
| 1264 | If you use RCS or CVS, you can generate change log entries | ||
| 1265 | automatically from the version control log entries using | ||
| 1266 | the @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}.) | ||
| 1268 | When you do this, you will probably want to edit and shorten the | ||
| 1269 | resulting @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 | ||