1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Update pgcvslog

This commit is contained in:
Bruce Momjian
2000-06-01 01:34:02 +00:00
parent 127f785028
commit 726926a523
4 changed files with 345 additions and 146 deletions

View File

@ -2,16 +2,17 @@
# This utility is used to generate a compact list of changes for each
# release, bjm 2000-02-22
# Usage $0 [-r 'revision pattern'] file
# Usage $0 file
# no branches:
# cvs log -d '>1999-06-14 00:00:00 GMT' . > log
# pgcvslog -r '\.2\.[0-9]*$' log
#
# pre and post-branch logs:
# cvs log -d'2000-05-08 00:00:00 GMT<2000-05-29 00:00:00 GMT'
# cvs log -d'>2000-05-29 00:00:00 GMT' -rREL7_0_PATCHES
#
if [ "X$1" = "X-r" ]
then REV="$2"
shift 2
else REV=".*"
fi
# pgcvslog -r '\.2\.[0-9]*$' log
cat "$@" |
@ -21,8 +22,6 @@ cat "$@" |
awk '
$0 ~ /^Working file:/ {workingfile = $0}
$1 == "revision" && $2 !~ /'"$REV"'/ {skip = "Y"}
($0 ~ /^====*$/ || $0 ~ /^----*$/) && skip == "N" \
{
/* print blank line separating entries */