Re: Short CVS question

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Dirk Riehle <dirk(at)riehle(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Short CVS question
Date: 2008-11-10 12:47:38
Message-ID: 20081110124738.GA6053@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dirk Riehle wrote:

>
> I have a short CVS question please: How do I go from a particular file
> revision like
>
> pgsql/cvs/pgsql/src/backend/parser/parse_relation.c.1.3
>
> to the complete commit?

Also try cvs2cl, which might help you:

common_args="--revisions --no-indent --no-wrap --separate-header"
branch_arg=""
branch=$(cvs status configure.in | grep 'Sticky Tag' | awk '{print $3}')
if [ $branch != "(none)" ]; then
branch_arg="--follow $branch"
fi
if [ ! -f ChangeLog ]; then
cvs2cl $common_args $branch_arg
else
cvs2cl $common_args $branch_arg --accum
fi

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-10 13:12:49 Re: [I|S]CONST/[I|S]const in gram.y
Previous Message ITAGAKI Takahiro 2008-11-10 11:23:23 pg_do_encoding_conversion glitch