1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
Glenn Morris
a5b68355b3 Add 2008 to copyright years. 2008-01-07 08:42:46 +00:00
Glenn Morris
1952a18e41 (Copyright): Update to 2008. 2008-01-04 03:01:00 +00:00
Glenn Morris
4a9f99bdfb Switch license to GPLv3 or later. 2007-07-25 05:08:27 +00:00
Glenn Morris
b3d90e4611 Update copyright for years from Emacs 21 to present (mainly adding
2001).
2007-01-16 03:47:24 +00:00
Thien-Thi Nguyen
273dc16aaf Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
Thien-Thi Nguyen
92b47a4a99 Update years in copyright notice; nfc. 2005-08-07 10:56:27 +00:00
Lute Kamstra
364c38d3af Update FSF's address. 2005-07-04 15:47:28 +00:00
Paul Eggert
442a2160f4 * rcs2log (Help): Clarify wording of the usage message. 2004-04-18 06:02:16 +00:00
Paul Eggert
83d48514ec Work correctly if CVSROOT specifies :fork: or
:local: methods, or omits the colon between the hostname
and the path.  Allow :/ in repository path, since CVS does.
Fix typo: "pository" should be set from $CVSROOT, not $repository.
This fixes a bug reported by Wolfgang Scherer in
<http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
along with some related bugs I discovered by inspecting how
CVS itself parses $CVSROOT.
2004-02-15 07:41:58 +00:00
Paul Eggert
c91406620c (rlog_options): Append -rbranchtag if CVS/Tag indicates
a tag, and if the user has not specified an rlog option.
Adapted from a suggestion by Martin Stjernholm in
<http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
(Copyright): Update to 2003.
2003-12-27 08:18:42 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Paul Eggert
b2ba2352ed (Copyright): Update to 2002.
(AWK, TMPDIR): Work around portability problem in broken shells that
don't understand `: ${VAR=val}'.
(SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
Prefer the new -k option to the traditional +M -N option.
2002-02-03 17:31:31 +00:00
Paul Eggert
e8d6a09bd0 (Copyright): Add '(C)' as per coding guidelines.
The following changes are derived from suggestions by Bob Chapman
<rechapman@compuserve.com>.

(printlogline): Also allow tab and newline to separate
'(function):' from the rest of a comment.
(reformat the sorted log entries): Require date and author to
match the clumpname.
2001-11-28 23:55:08 +00:00
Paul Eggert
1bd57c3956 (Help, mainline code): Add new option -L FILE.
(Copyright): Update year.

(LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES,
LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the C locale.

(mainline code): Handle nonstandard -u option differently, by
transforming it to standard form.  Check for "Working file: ", not
"Working file:".  Allow file names with spaces.

(SOH, rlogfile): New shell vars.
(rlogout): Remove.  Its old functionality is mostly migrated to rlogfile.

Append ';;' to the last arm of every case statement, for portability to
ancient broken BSD shells.

(logins): Fix bug; was not being computed at all, lowering performance.

(pository): New var.  This fixes some bugs where repositories are
remote, or have trailing slashes.

(authors): $llogout is never an empty shell var, so don't worry about that
possibility.

(printlogline, mainline code): Fix bug with SOH's being put into the output.
2001-09-05 23:07:46 +00:00
Gerd Moellmann
daecaf5da2 Update copyright notice. 2001-07-20 09:05:26 +00:00
Ken Raeburn
ad78255132 properly mark Attic files as deleted 2001-07-06 08:41:36 +00:00
Gerd Moellmann
38186d678f Avoid security hole allowing attacker to
cause user of rcs2log to overwrite arbitrary files, fixing
a bug reported by Morten Welinder.

Don't put "exit 1" at the end of the exit trap; it's
ineffective in POSIX shells.
2001-01-03 12:04:06 +00:00
Paul Eggert
f868e34cd0 Update bug report address and copyright. 1998-08-12 22:33:01 +00:00
Paul Eggert
a11a197bb9 Update copyright 1998-08-12 14:22:14 +00:00
Paul Eggert
c4c65c3395 (initialize_fullname): Prefer getent if available. 1998-08-11 22:11:08 +00:00
Paul Eggert
7e46d45938 Don't assign to $0 in awk; some awks don't allow this. 1997-06-26 01:00:03 +00:00
Paul Eggert
b8ffe57028 (files): When computing arguments automatically, ignore non-files
within the RCS subdirectory.
1997-05-13 22:44:08 +00:00
Paul Eggert
d74a9f24b3 (loginFullnameMailaddrs, logins, rlog_options, files): Don't prepend $nl
since this causes some shells to generate the empty string when IFS is $nl.
(printlogline): Use SOH (octal code 1), not CR, since some PC-based shells
mishandle CR.
1997-05-11 20:02:32 +00:00
Paul Eggert
8726160d7e Doc fix: CR is \015, not \013. 1997-05-11 18:43:55 +00:00
Paul Eggert
6ef88a0a80 (initialize_fullname): Set NIS_PATH to the empty string before invoking
nismatch, in case it's set to some nonstandard value.
1997-03-23 18:46:03 +00:00
Paul Eggert
8fd927907b (files): Ignore files in RCS directory whose names are of the form ,*,
or *_; they are probably RCS lock files.  Also, ignore files named
.rcsfreeze.log or .rcsfreeze.ver; they are used by rcsfreeze.
1997-03-21 22:12:24 +00:00
Paul Eggert
77851e9c30 --help, --version: New options, for conformance to GNU coding standards.
(Copyright, Help, Id): New variables, for above.
(rlog): Use -q option with cvs log, to avoid useless chatter.

Treat logs of "Initial revision" (RCS) or "file F was initially added
on branch B." (CVS) as if they said "New file.", for consistency with
change log entries.
1997-01-20 09:03:05 +00:00
Paul Eggert
7e02c4ddef When processing cvs log output, remove `Attic/' from repository file names. 1996-11-03 17:09:27 +00:00
Paul Eggert
6fbe22d865 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
revisions, since some hosts reject 1970-01-01 when east of UTC.
(date): Remove.
1996-10-13 05:59:42 +00:00
Paul Eggert
30fc6c655c (rlog_options): Look for ' option' rather than 'unknown option',
since CVS says 'invalid option'.
1996-10-12 17:24:45 +00:00
Paul Eggert
aa7c3349af (date): Make default format acceptable to CVS post v1.8
as well as earlier CVSs and RCS.
1996-09-30 22:15:13 +00:00
Paul Eggert
f41c4842c0 (rlog_options): Use $rlog, not rlog, when deciding whether to append -zLT. 1996-09-25 09:53:56 +00:00
Paul Eggert
942bbf2b2b Change GNU Emacs' to this program' in the comment referring the reader
to the file COPYING, since rcs2log is distributed as part of programs
other than GNU Emacs.
1996-08-26 21:20:48 +00:00
Erik Naggum
7b8b6c7ad9 Use ISO 8601 date format, with time zone appended if
change-log-time-zone-rule is non-nil, instead of traditional Unix date
format.

(datearg): When computing default from ChangeLog, handle ISO format dates
in addition to old-fashioned dates from Emacs 19.31 and earlier.  Don't
worry about hh:mm:ss since the resolution is now by day.  Use emtpy
datearg, not empty rlog_options, to decide whether to pass "$datearg"
option to $rlog.
(logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
(month_data): Remove `mo'; no longer needed.
(rlog_options): Use -zLT for localltime output, if `rlog' supports it.
(extractTZ): Use UTC if the zone is t.

Match `revision' line of rlog output more accurately.

Add -c, -v options.
1996-08-24 21:11:14 +00:00
Karl Heuer
1fb87c7784 Fix FSF address in comment. 1996-07-20 18:10:35 +00:00
Paul Eggert
e852d58d04 (initialize_fullname): Add support for NIS+.
(hostname): Fully qualify the default hostname with the domainname
if the hostname lacks a `.'.
1996-01-15 01:17:56 +00:00
Paul Eggert
fdb3286ede (datearg): Separate date from time with comma, not space,
to avoid CVS 1.5 bug.
(CVSROOT): Don't abort if unset and if repository is an absolute pathname.
1995-07-08 18:44:04 +00:00
Paul Eggert
d5ad1373cc Replace #!/bin/sh' with #! /bin/sh', for benefit of systems
that interpret `#! /' as a 4-byte magic number.
1995-07-07 22:47:57 +00:00
Paul Eggert
c49b2b754c (CVSROOT, repository): Allow remote repositories a la CVS 1.4. 1995-06-28 01:47:55 +00:00
Paul Eggert
a8a818c00e (output_authors): Allow ':' in time zone, as per ISO 8601 and RCS 5.6.8 beta. 1995-06-04 01:34:39 +00:00
Paul Eggert
64736f55e1 (datearg): If rlog options are specified explicitly,
omit the implicit '-d>DATE' option.
(repository, rlog): Allow absolute paths to CVS repositories.
Look only at the first line of CVS/Repository.
1995-04-30 15:34:52 +00:00
Paul Eggert
4c952fd0fa (output_authors): Replace /[/]/ by /[\/]/, for portability to mawk and nawk. 1995-03-23 01:21:07 +00:00
Paul Eggert
0a4e59d934 Treat -u 'LOGIN:FULLNAME:MAILADDR' as if it were
-u 'LOGIN<tab>FULLNAME<tab>MAILADDR'.
1995-03-21 23:14:41 +00:00
Paul Eggert
44ef8c25be Add -u "login<tab>fullname<tab>mailaddr" option, which replaces the
(now obsolescent) -n login fullname mailaddr option.
Don't omit path from repository root when logging CVS files.
Add -R option for recursive rlog.
(AWK): New environment variable (default `awk') for name of awk program.
(output_authors, tab, loginFullnameMailaddrs, recursive): New variables.
Quote authors and fullnames correctly.
1995-03-21 05:37:42 +00:00
Paul Eggert
7a833f0baf Add support for CVS.
Work with `rlog's that output ISO 8601 dates.
1994-08-15 22:44:10 +00:00
Richard M. Stallman
9fa6ed8fd4 Use <> to delimit email address. 1994-08-09 20:43:48 +00:00
Paul Eggert
1f19b52b5a (printlogline): Don't generate lines containing only white space. 1993-10-19 02:50:31 +00:00
Paul Eggert
31ce77fa0a Add -h, -n, -r options.
By default, look for *,v files as well as RCS/*,v files.
Use $TMPDIR (default /tmp) instead of /tmp.
1993-09-24 01:03:32 +00:00
Paul Eggert
85acbe0ab8 Change /{/ to /\{/ for Posix compatibility; otherwise, HP awk complains. 1993-08-25 19:33:07 +00:00
Paul Eggert
194bf419bb (awkscript): Some sites put comma-separated junk after the fullname.
Remove it, but leave "Bill Gates, Jr" alone.
Remove the junk from fullnames like "0000-Admin(0000)".
1993-08-09 22:06:00 +00:00