[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: The value of HEAD

From: Bax, Arjen <ABax_at_AEGON.NL>
Date: 2005-04-07 09:49:16 CEST

Anita writes:

> > -> How can I read the value of HEAD in a variable? I
> > -> am calling svn using executable="svn"....

Is this of any help?

svn log -rHEAD -q file:///d:/svnrep/mytools | perl -wlne '/^r(\d+)/ and do {
print $1; exit }'

Arjen Bax

-- 
Violence is the last refuge of the incompetent - Isaac Asimov
Received on Thu Apr 7 10:10:17 2005

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.