summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@twinsun.com>1995-07-08 18:44:04 +0000
committerPaul Eggert <eggert@twinsun.com>1995-07-08 18:44:04 +0000
commitfc7da66d898c5f8f606fa1f855985e0f3d0afb41 (patch)
tree72e0c7638f513f689fc53cc652d8c86a12c6f775 /lib-src
parent6c527807867c83e71ec9d0ab92cb4589f33a51a4 (diff)
downloademacs-fc7da66d898c5f8f606fa1f855985e0f3d0afb41.tar.gz
(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')
-rw-r--r--lib-src/=rcs2log9
-rwxr-xr-xlib-src/rcs2log9
2 files changed, 10 insertions, 8 deletions
diff --git a/lib-src/=rcs2log b/lib-src/=rcs2log
index c910e898009..d1782194e4c 100644
--- a/lib-src/=rcs2log
+++ b/lib-src/=rcs2log
@@ -12,7 +12,7 @@
# Author: Paul Eggert <eggert@twinsun.com>
-# $Id: rcs2log,v 1.24 1995/06/28 01:47:55 eggert Exp eggert $
+# $Id: rcs2log,v 1.25 1995/07/07 22:47:57 eggert Exp eggert $
# Copyright 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
@@ -158,7 +158,8 @@ case $rlog_options in
}
}
}
- printf "%d/%02d/%02d %02d:%02d:%02d\n", year,i+1,dd,hh,mm,ss
+ # Output comma instead of space to avoid CVS 1.5 bug.
+ printf "%d/%02d/%02d,%02d:%02d:%02d\n", year,i+1,dd,hh,mm,ss
exit
}
'
@@ -179,7 +180,7 @@ else
rlog='cvs log'
repository=`sed 1q <CVS/Repository` || exit
test ! -f CVS/Root || CVSROOT=`cat <CVS/Root` || exit
- case ${CVSROOT?} in
+ case $CVSROOT in
*:/*)
# remote repository
;;
@@ -187,7 +188,7 @@ else
# local repository
case $repository in
/*) ;;
- *) repository=$CVSROOT/$repository
+ *) repository=${CVSROOT?}/$repository
esac
if test ! -d "$repository"
then
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 @@
# Author: Paul Eggert <eggert@twinsun.com>
-# $Id: rcs2log,v 1.24 1995/06/28 01:47:55 eggert Exp eggert $
+# $Id: rcs2log,v 1.25 1995/07/07 22:47:57 eggert Exp eggert $
# Copyright 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
@@ -158,7 +158,8 @@ case $rlog_options in
}
}
}
- printf "%d/%02d/%02d %02d:%02d:%02d\n", year,i+1,dd,hh,mm,ss
+ # Output comma instead of space to avoid CVS 1.5 bug.
+ printf "%d/%02d/%02d,%02d:%02d:%02d\n", year,i+1,dd,hh,mm,ss
exit
}
'
@@ -179,7 +180,7 @@ else
rlog='cvs log'
repository=`sed 1q <CVS/Repository` || exit
test ! -f CVS/Root || CVSROOT=`cat <CVS/Root` || exit
- case ${CVSROOT?} in
+ case $CVSROOT in
*:/*)
# remote repository
;;
@@ -187,7 +188,7 @@ else
# local repository
case $repository in
/*) ;;
- *) repository=$CVSROOT/$repository
+ *) repository=${CVSROOT?}/$repository
esac
if test ! -d "$repository"
then