diff options
| author | Karoly Lorentey | 2003-12-28 16:05:28 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2003-12-28 16:05:28 +0000 |
| commit | 8ed48c277afad174675b3d6dcb8e7b00a4bcc97d (patch) | |
| tree | 53d9baa35f9420264e2f53ad4db850c400c3e2c6 /lib-src/rcs2log | |
| parent | 2e7f2ec031f1708b80df9dc1f60f6b1cb24a5c02 (diff) | |
| parent | 69348b2a71cbabeb23e3b7d5dce354c5bc4bd311 (diff) | |
| download | emacs-8ed48c277afad174675b3d6dcb8e7b00a4bcc97d.tar.gz emacs-8ed48c277afad174675b3d6dcb8e7b00a4bcc97d.zip | |
Merged in changes from CVS HEAD
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-1
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-2
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-3
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-17
Diffstat (limited to 'lib-src/rcs2log')
| -rwxr-xr-x | lib-src/rcs2log | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log index f3773e48766..4400fb72578 100755 --- a/lib-src/rcs2log +++ b/lib-src/rcs2log | |||
| @@ -29,9 +29,9 @@ Options: | |||
| 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.51 2003/09/01 15:45:03 miles Exp $' | 32 | Id='$Id: rcs2log,v 1.52 2003/12/27 08:18:08 uid65632 Exp $' |
| 33 | 33 | ||
| 34 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002 | 34 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2003 |
| 35 | # Free Software Foundation, Inc. | 35 | # 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 |
| @@ -49,7 +49,7 @@ Id='$Id: rcs2log,v 1.51 2003/09/01 15:45:03 miles Exp $' | |||
| 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) 2002 Free Software Foundation, Inc. | 52 | Copyright='Copyright (C) 2003 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. |
| @@ -195,8 +195,9 @@ case $rlogfile in | |||
| 195 | 195 | ||
| 196 | # If no rlog options are given, | 196 | # If no rlog options are given, |
| 197 | # log the revisions checked in since the first ChangeLog entry. | 197 | # log the revisions checked in since the first ChangeLog entry. |
| 198 | # Since ChangeLog is only by date, some of these revisions may be duplicates of | 198 | # Since ChangeLog is only by date, some of these revisions may be |
| 199 | # what's already in ChangeLog; it's the user's responsibility to remove them. | 199 | # duplicates of what's already in ChangeLog; it's the user's |
| 200 | # responsibility to remove them. | ||
| 200 | case $rlog_options in | 201 | case $rlog_options in |
| 201 | '') | 202 | '') |
| 202 | if test -s "$changelog" | 203 | if test -s "$changelog" |
| @@ -281,6 +282,21 @@ case $rlogfile in | |||
| 281 | esac | 282 | esac |
| 282 | done | 283 | done |
| 283 | 284 | ||
| 285 | # If no rlog options are given, and if we are in a tagged CVS branch, | ||
| 286 | # log only the changes in that branch. | ||
| 287 | case $rlog_options in | ||
| 288 | '') | ||
| 289 | if test -f CVS/Tag | ||
| 290 | then | ||
| 291 | CVSTAG=`cat <CVS/Tag` || exit | ||
| 292 | case $CVSTAG in | ||
| 293 | T?*) | ||
| 294 | rlog_options=-r`expr "$CVSTAG" : 'T\(.*\)'`;; | ||
| 295 | *) | ||
| 296 | echo >&2 "$0: invalid CVS/Tag"; exit 1;; | ||
| 297 | esac | ||
| 298 | fi;; | ||
| 299 | esac | ||
| 284 | fi | 300 | fi |
| 285 | 301 | ||
| 286 | # Use $rlog's -zLT option, if $rlog supports it. | 302 | # Use $rlog's -zLT option, if $rlog supports it. |