Re: Getting HEAD revision number from a URL
From: Juanma Barranquero <lektu_at_mi.madritel.es>
Date: 2004-10-27 02:45:18 CEST
On Tue, 26 Oct 2004 16:52:44 -0700, "Krebs, Steven" <steven.krebs@intel.com> wrote:
> FYI: here is my final solution (for svn client on WinXP with PERL):
Wouldn't it be shorter (à la Perl Golf) one of these?
svn log -q -v -rHEAD <URI> | perl -ne "print'set HeadRev=',$1 if/^r(\d+)/"
(Sorry, couldn't resist ;)
/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.