aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/rcs2log
diff options
context:
space:
mode:
authorPaul Eggert1995-07-08 18:44:04 +0000
committerPaul Eggert1995-07-08 18:44:04 +0000
commitfdb3286ede1cb01161cf334db7695f2029bbc873 (patch)
treeeddc23d1c1ae33f492060217007e606ecaa511dc /lib-src/rcs2log
parentbe3e4bb1b8e09b8240991b522c498b6ca3cf20b5 (diff)
downloademacs-fdb3286ede1cb01161cf334db7695f2029bbc873.tar.gz
emacs-fdb3286ede1cb01161cf334db7695f2029bbc873.zip
(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.
Diffstat (limited to 'lib-src/rcs2log')
-rwxr-xr-xlib-src/rcs2log9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log
index c910e898009..d1782194e4c 100755
--- a/lib-src/rcs2log
+++ b/lib-src/rcs2log
@@ -12,7 +12,7 @@
12 12
13# Author: Paul Eggert <eggert@twinsun.com> 13# Author: Paul Eggert <eggert@twinsun.com>
14 14
15# $Id: rcs2log,v 1.24 1995/06/28 01:47:55 eggert Exp eggert $ 15# $Id: rcs2log,v 1.25 1995/07/07 22:47:57 eggert Exp eggert $
16 16
17# Copyright 1992, 1993, 1994, 1995 Free Software Foundation, Inc. 17# Copyright 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
18 18
@@ -158,7 +158,8 @@ case $rlog_options in
158 } 158 }
159 } 159 }
160 } 160 }
161 printf "%d/%02d/%02d %02d:%02d:%02d\n", year,i+1,dd,hh,mm,ss 161 # Output comma instead of space to avoid CVS 1.5 bug.
162 printf "%d/%02d/%02d,%02d:%02d:%02d\n", year,i+1,dd,hh,mm,ss
162 exit 163 exit
163 } 164 }
164 ' 165 '
@@ -179,7 +180,7 @@ else
179 rlog='cvs log' 180 rlog='cvs log'
180 repository=`sed 1q <CVS/Repository` || exit 181 repository=`sed 1q <CVS/Repository` || exit
181 test ! -f CVS/Root || CVSROOT=`cat <CVS/Root` || exit 182 test ! -f CVS/Root || CVSROOT=`cat <CVS/Root` || exit
182 case ${CVSROOT?} in 183 case $CVSROOT in
183 *:/*) 184 *:/*)
184 # remote repository 185 # remote repository
185 ;; 186 ;;
@@ -187,7 +188,7 @@ else
187 # local repository 188 # local repository
188 case $repository in 189 case $repository in
189 /*) ;; 190 /*) ;;
190 *) repository=$CVSROOT/$repository 191 *) repository=${CVSROOT?}/$repository
191 esac 192 esac
192 if test ! -d "$repository" 193 if test ! -d "$repository"
193 then 194 then