Mercurial > emacs
comparison lib-src/=rcs2log @ 16368:62c8dbf52487
(date): Make default format acceptable to CVS post v1.8
as well as earlier CVSs and RCS.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Mon, 30 Sep 1996 22:15:13 +0000 |
parents | be25bd9150e8 |
children | 63dc01de1823 |
comparison
equal
deleted
inserted
replaced
16367:168e1370e887 | 16368:62c8dbf52487 |
---|---|
10 # Clump together log entries that start with `{topic} ', | 10 # Clump together log entries that start with `{topic} ', |
11 # where `topic' contains neither white space nor `}'. | 11 # where `topic' contains neither white space nor `}'. |
12 | 12 |
13 # Author: Paul Eggert <eggert@twinsun.com> | 13 # Author: Paul Eggert <eggert@twinsun.com> |
14 | 14 |
15 # $Id: rcs2log,v 1.30 1996/08/26 21:20:48 eggert Exp eggert $ | 15 # $Id: rcs2log,v 1.31 1996/09/25 09:53:56 eggert Exp eggert $ |
16 | 16 |
17 # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. | 17 # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. |
18 | 18 |
19 # This program is free software; you can redistribute it and/or modify | 19 # This program is free software; you can redistribute it and/or modify |
20 # it under the terms of the GNU General Public License as published by | 20 # it under the terms of the GNU General Public License as published by |
124 # log the revisions checked in since the first ChangeLog entry. | 124 # log the revisions checked in since the first ChangeLog entry. |
125 # Since ChangeLog is only by date, some of these revisions may be duplicates of | 125 # Since ChangeLog is only by date, some of these revisions may be duplicates of |
126 # what's already in ChangeLog; it's the user's responsibility to remove them. | 126 # what's already in ChangeLog; it's the user's responsibility to remove them. |
127 case $rlog_options in | 127 case $rlog_options in |
128 '') | 128 '') |
129 date=1970 | 129 date=1970-01-01 |
130 if test -s "$changelog" | 130 if test -s "$changelog" |
131 then | 131 then |
132 e=' | 132 e=' |
133 /^[0-9]+-[0-9][0-9]-[0-9][0-9]/{ | 133 /^[0-9]+-[0-9][0-9]-[0-9][0-9]/{ |
134 # ISO 8601 date | 134 # ISO 8601 date |