From: | jwieck(at)debis(dot)com (Jan Wieck) |
---|---|
To: | maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian) |
Cc: | hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] CVS log for a specific tag |
Date: | 1998-12-17 22:44:42 |
Message-ID: | m0zqm9z-000EBTC@orion.SAPserv.Hamburg.dsh.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Bruce asked:
>
> I am working on doing the HISTORY file for the 6.4.1 release.
>
> I can't figure out how to generate a cvs log for only the REL6_4 cvs
> tree.
>
> Can anyone tell me how to do it?
#!/bin/sh
egrep -e '/[0-9]+\.[0-9]+\.2\.[0-9]+/' `find . -name Entries -print` | \
grep '[^:]*CVS/Entries:' | \
sed -e 's/\(Entries:\/[^\/]*\).*/\1/' | \
sed -e 's/CVS\/Entries:\///' | \
while read f ; do
cvs log -rREL6_4: $f
done
Use this script in the working directory where you checked
out the REL6_4 branch. I depends on the fact that every file,
touched in that branch, has a 2 in it's third element of the
revision number.
The egrep-sed party just selects all file names from the
CVS/Entries which have such a revision number. Then cvs is
called for each to print out the log from REL6_4 to the last
revision in the branch.
Make sure there is no blank between -r and REL6_4: on the cvs
log call, or the called rlog will misinterpret it as a
filename and print out the complete logging for the trunk.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck(at)debis(dot)com (Jan Wieck) #
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 1998-12-18 00:56:49 | RE: [HACKERS] redolog - for discussion |
Previous Message | Keith Parks | 1998-12-17 22:04:00 | Re: [HACKERS] CURRENT: crash in select_view regression test... |