aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorKaroly Lorentey2004-04-19 08:37:31 +0000
committerKaroly Lorentey2004-04-19 08:37:31 +0000
commita9711057f01b74aac7735892b32a424aadd0716c (patch)
treea8364af9ca90921bae879356b3969c095db660c1 /lib-src
parent540216761e8c9105486b902c8eab89ffe6a09731 (diff)
parent455a2afc5fcca05595e428785142e9240b3a9da7 (diff)
downloademacs-a9711057f01b74aac7735892b32a424aadd0716c.tar.gz
emacs-a9711057f01b74aac7735892b32a424aadd0716c.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-226 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-227 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-228 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-229 Remove TeX output files from the archive git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-146
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog6
-rwxr-xr-xlib-src/rcs2log47
2 files changed, 41 insertions, 12 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 75b3be839e1..7355a29348a 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
12004-04-17 Paul Eggert <eggert@gnu.org>
2
3 * rcs2log (Help): Clarify wording of the usage message.
4 Problem reported by Alan Mackenzie in
5 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
6
12004-04-07 Stefan Monnier <monnier@iro.umontreal.ca> 72004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * make-docfile.c (xmalloc): Fix return type. 9 * make-docfile.c (xmalloc): Fix return type.
diff --git a/lib-src/rcs2log b/lib-src/rcs2log
index 572af065918..42c92ff6187 100755
--- a/lib-src/rcs2log
+++ b/lib-src/rcs2log
@@ -2,27 +2,50 @@
2 2
3# RCS to ChangeLog generator 3# RCS to ChangeLog generator
4 4
5# Generate a change log prefix from RCS files (perhaps in the CVS repository) 5Help='
6# and the ChangeLog (if any). 6Generate ChangeLog entries from RCS files (perhaps in a CVS repository)
7# Output the new prefix to standard output. 7and the ChangeLog file (if any). An RCS file typically has a name
8# You can edit this prefix by hand, and then prepend it to ChangeLog. 8ending in ",v", and represents the entire history of a file that is
9under revision control. The ChangeLog file logs entries for changes,
10in reverse chronological order.
9 11
10# Ignore log entries that start with `#'. 12Generate entries for changes entered into RCS (or CVS) more recently
11# Clump together log entries that start with `{topic} ', 13than the newest existing entry in the ChangeLog file. You can then
12# where `topic' contains neither white space nor `}'. 14edit these entries by hand, and prepend them to the ChangeLog file.
15
16Output the resulting ChangeLog entries to standard output.
17Each entry looks something like this:
18
192004-04-17 Paul Eggert <eggert@gnu.org>
20
21 * rcs2log (Help): Clarify wording of the usage message.
22 Problem reported by Alan Mackenzie in
23 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
24
25ChangeLog entries contain the current date, full name, email address
26including hostname, the name of the affected file, and commentary.
27RCS and CVS logs lack full names and email addresses, so they are
28inferred from login names using a heuristic that can be overridden
29via the -u option.
30
31Ignore log entries that start with "#".
32Clump together log entries that start with "{topic} ",
33where "topic" contains neither white space nor "}".
34
35If no FILE is specified, use all files under the working directory
36that are maintained under version control.
13 37
14Help='The default FILEs are the files registered under the working directory.
15Options: 38Options:
16 39
17 -c CHANGELOG Output a change log prefix to CHANGELOG (default ChangeLog). 40 -c FILE Output ChangeLog entries for FILE (default ChangeLog).
18 -h HOSTNAME Use HOSTNAME in change log entries (default current host). 41 -h HOSTNAME Use HOSTNAME in change log entries (default current host).
19 -i INDENT Indent change log lines by INDENT spaces (default 8). 42 -i INDENT Indent change log lines by INDENT spaces (default 8).
20 -l LENGTH Try to limit log lines to LENGTH characters (default 79). 43 -l LENGTH Try to limit log lines to LENGTH characters (default 79).
21 -L FILE Use rlog-format FILE for source of logs. 44 -L FILE Use FILE (same format as "rlog") for source of logs.
22 -R If no FILEs are given and RCS is used, recurse through working directory. 45 -R If no FILEs are given and RCS is used, recurse through working directory.
23 -r OPTION Pass OPTION to subsidiary log command. 46 -r OPTION Pass OPTION to subsidiary command (either "rlog" or "cvs -q log").
24 -t TABWIDTH Tab stops are every TABWIDTH characters (default 8). 47 -t TABWIDTH Tab stops are every TABWIDTH characters (default 8).
25 -u "LOGIN<tab>FULLNAME<tab>MAILADDR" Assume LOGIN has FULLNAME and MAILADDR. 48 -u "LOGIN<tab>FULLNAME<tab>EMAILADDR" LOGIN has FULLNAME and EMAILADDR.
26 -v Append RCS revision to file names in log lines. 49 -v Append RCS revision to file names in log lines.
27 --help Output help. 50 --help Output help.
28 --version Output version number. 51 --version Output version number.