changeset 16438:30536ab085c7

(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.
author Paul Eggert <eggert@twinsun.com>
date Sun, 13 Oct 1996 05:59:42 +0000
parents 0626ef653e3e
children 0c61b1f40de2
files lib-src/=rcs2log lib-src/rcs2log
diffstat 2 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/=rcs2log	Sat Oct 12 23:54:53 1996 +0000
+++ b/lib-src/=rcs2log	Sun Oct 13 05:59:42 1996 +0000
@@ -12,7 +12,7 @@
 
 # Author: Paul Eggert <eggert@twinsun.com>
 
-# $Id: rcs2log,v 1.32 1996/09/30 22:15:13 eggert Exp eggert $
+# $Id: rcs2log,v 1.33 1996/10/12 17:24:45 eggert Exp eggert $
 
 # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
 
@@ -126,7 +126,6 @@
 # what's already in ChangeLog; it's the user's responsibility to remove them.
 case $rlog_options in
 '')
-	date=1970-01-01
 	if test -s "$changelog"
 	then
 		e='
@@ -147,10 +146,9 @@
 		'
 		d=`$AWK "$e" <"$changelog"` || exit
 		case $d in
-		?*) date=$d
+		?*) datearg="-d>$d"
 		esac
 	fi
-	datearg="-d>$date"
 esac
 
 # Use TZ specified by ChangeLog local variable, if any.
--- a/lib-src/rcs2log	Sat Oct 12 23:54:53 1996 +0000
+++ b/lib-src/rcs2log	Sun Oct 13 05:59:42 1996 +0000
@@ -12,7 +12,7 @@
 
 # Author: Paul Eggert <eggert@twinsun.com>
 
-# $Id: rcs2log,v 1.32 1996/09/30 22:15:13 eggert Exp eggert $
+# $Id: rcs2log,v 1.33 1996/10/12 17:24:45 eggert Exp eggert $
 
 # Copyright 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
 
@@ -126,7 +126,6 @@
 # what's already in ChangeLog; it's the user's responsibility to remove them.
 case $rlog_options in
 '')
-	date=1970-01-01
 	if test -s "$changelog"
 	then
 		e='
@@ -147,10 +146,9 @@
 		'
 		d=`$AWK "$e" <"$changelog"` || exit
 		case $d in
-		?*) date=$d
+		?*) datearg="-d>$d"
 		esac
 	fi
-	datearg="-d>$date"
 esac
 
 # Use TZ specified by ChangeLog local variable, if any.