[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: Kevin Puetz <puetzk_at_puetzk.org>
Date: 2005-04-07 15:22:26 CEST

Steve Williams wrote:

> McKenna, Simon (RGH) wrote:
>> So isn't a trip to the server needed regardless?
>>
>>>From the client you could call:
>> svn log URL -r HEAD -q
>>
>> and parse revision out from the result.
>>
>> Or perhaps this might be easier to consume from ant:
>> svn log URL -r HEAD -q --xml
>>
>>
>> All bases covered now? :)
>
> Yup. All covered. :)
>

Though actually, the output of "svnversion ." is more likely to be what is
wanted (svnversion will tell you the version your WC is based on, rather
than the latest version on the server). If you're looking for something to
embed in a build, that's probably more meaningful.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 7 15:36:29 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.