comparison lib-src/rcs2log @ 83037:03a73693678e

Merged in changes from CVS HEAD Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-71 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-72 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-73 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-74 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-75 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-76 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-77 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-78 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-79 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-80 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-81 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-82 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-83 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-84 Add lisp/emacs-lisp/macroexp.el * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-85 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-86 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-87 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-88 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-89 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-90 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-91 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-92 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-93 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-94 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-95 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-96 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-97 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-77
author Karoly Lorentey <lorentey@elte.hu>
date Tue, 17 Feb 2004 01:52:25 +0000
parents 09ea561dfa8c 8f3f4ab62a69
children eb7e8d483840
comparison
equal deleted inserted replaced
83036:fc638739c70f 83037:03a73693678e
27 --help Output help. 27 --help Output help.
28 --version Output version number. 28 --version Output version number.
29 29
30 Report bugs to <bug-gnu-emacs@gnu.org>.' 30 Report bugs to <bug-gnu-emacs@gnu.org>.'
31 31
32 Id='$Id: rcs2log,v 1.52 2003/12/27 08:18:08 uid65632 Exp $' 32 Id='$Id: rcs2log,v 1.53 2004/02/15 07:41:58 uid65632 Exp $'
33 33
34 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2003 34 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2003,
35 # Free Software Foundation, Inc. 35 # 2004 Free Software Foundation, Inc.
36 36
37 # This program is free software; you can redistribute it and/or modify 37 # This program is free software; you can redistribute it and/or modify
38 # it under the terms of the GNU General Public License as published by 38 # it under the terms of the GNU General Public License as published by
39 # the Free Software Foundation; either version 2, or (at your option) 39 # the Free Software Foundation; either version 2, or (at your option)
40 # any later version. 40 # any later version.
47 # You should have received a copy of the GNU General Public License 47 # You should have received a copy of the GNU General Public License
48 # along with this program; see the file COPYING. If not, write to the 48 # along with this program; see the file COPYING. If not, write to the
49 # Free Software Foundation, Inc., 59 Temple Place - Suite 330, 49 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
50 # Boston, MA 02111-1307, USA. 50 # Boston, MA 02111-1307, USA.
51 51
52 Copyright='Copyright (C) 2003 Free Software Foundation, Inc. 52 Copyright='Copyright (C) 2004 Free Software Foundation, Inc.
53 This program comes with NO WARRANTY, to the extent permitted by law. 53 This program comes with NO WARRANTY, to the extent permitted by law.
54 You may redistribute copies of this program 54 You may redistribute copies of this program
55 under the terms of the GNU General Public License. 55 under the terms of the GNU General Public License.
56 For more information about these matters, see the files named COPYING. 56 For more information about these matters, see the files named COPYING.
57 Author: Paul Eggert <eggert@twinsun.com>' 57 Author: Paul Eggert <eggert@twinsun.com>'
249 repository= 249 repository=
250 else 250 else
251 rlog='cvs -q log' 251 rlog='cvs -q log'
252 repository=`sed 1q <CVS/Repository` || exit 252 repository=`sed 1q <CVS/Repository` || exit
253 test ! -f CVS/Root || CVSROOT=`cat <CVS/Root` || exit 253 test ! -f CVS/Root || CVSROOT=`cat <CVS/Root` || exit
254 pository=
254 case $CVSROOT in 255 case $CVSROOT in
255 *:/*:/*) 256 /* | :fork:* | :local:*) ;;
256 echo >&2 "$0: $CVSROOT: CVSROOT has multiple ':/'s" 257 */*)
257 exit 1;;
258 *:/*)
259 # remote repository 258 # remote repository
260 pository=`expr "X$repository" : '.*:\(/.*\)'`;; 259 pository=`expr "X$CVSROOT" : '[^/]*\(.*\)'`;;
261 *) 260 esac
261 case $pository in
262 '')
262 # local repository 263 # local repository
263 case $repository in 264 case $repository in
264 /*) ;; 265 /*) ;;
265 *) repository=${CVSROOT?}/$repository;; 266 *)
267 repository=${CVSROOT?}/$repository
268 case $repository in
269 :fork:* | :local:*)
270 repository=`expr "$repository" : ':[^:]*:\(.*\)'`;;
271 esac;;
266 esac 272 esac
267 if test ! -d "$repository" 273 if test ! -d "$repository"
268 then 274 then
269 echo >&2 "$0: $repository: bad repository (see CVS/Repository)" 275 echo >&2 "$0: $repository: bad repository (see CVS/Repository)"
270 exit 1 276 exit 1