Re: Getting HEAD revision number from a URL
From: Juanma Barranquero <lektu_at_mi.madritel.es>
Date: 2004-10-30 00:29:27 CEST
On Fri, 29 Oct 2004 11:07:41 -0700, "Peter Yamamoto" <peter.yamamoto@page44.com> wrote:
> Change the ' to ", and the internal " to \"...
Sure, but then it's longer than my previous post.
"/^r(\d+)/&&print\"set HeadRev=$1\"" # Yours
In fact, when I'm not Perl-golfing but doing one-liners for real, I
perl -e "/^r(\d+)/ && print qq(set HeadRev=$1)"
etc.
/L/e/k/t/u
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.