From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | jwieck(at)debis(dot)com |
Cc: | hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] CVS log for a specific tag |
Date: | 1998-12-18 03:08:32 |
Message-ID: | 199812180308.WAA27407@candle.pha.pa.us |
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.
I have attached my pgcvslog, modified to allow revisions to be specified:
pgcvslog -r '\.2\.[0-9]*$'
It is a shame that we have to rely on one of the revisions numbers to
pull out the REL6_4 branch of the tree.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 1.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-12-18 05:33:43 | Upgrades for 6.4.1 |
Previous Message | PCblazer | 1998-12-18 02:34:58 | Total Multimedia Board & CPU deal |