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

Re: Head revision

From: Michael W Thelen <mike_at_pietdepsi.com>
Date: 2005-01-26 18:03:45 CET

Kania wrote:
> If I do svn log --revision HEAD svn://localhost/myproject I have
> something aka:
>
> ------------------------------------------------------------------------
> r2 | me | 2004-12-10 17:36:32 +0100 (Fri, 10 Dec 2004) | 1 line
>
>
> ------------------------------------------------------------------------
>
> But I don't have revision number...
>
> What switch do I need to use ?

The easiest way I've found to get the HEAD revision number remotely is
to run "svn status -u", which reports "Status against revision: X" where
X is HEAD. On the server, you can run "svnlook youngest /path/to/repos".

-- 
Michael W Thelen
It is a mistake to think you can solve any major problems just with
potatoes.       -- Douglas Adams

Received on Wed Jan 26 18:07:01 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.