This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: New script for contrib
- From: Dirk Mueller <dmuell at gmx dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 31 Oct 2005 17:47:59 +0100
- Subject: Re: [PATCH]: New script for contrib
- References: <1130776458.8960.167.camel@dyn9002219071>
On Monday 31 October 2005 17:34, Daniel Berlin wrote:
> This is a slight modification of the find-start-rev script that richard
> guenther sent me and i resent to gcc@.
The non-iterative version would be
find-start-rev()
{
svn log --stop-on-copy $1 | egrep '^r[0-9]' | tail -n 1 | cut -d' ' -f1
}
Dirk