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

Re: Getting HEAD revision number from a URL

From: <kfogel_at_collab.net>
Date: 2004-10-24 02:25:30 CEST

Scott Palmer <scott.palmer@2connected.org> writes:
> I see a command 'svnversion' which does exactly what I want, but it
> needs a working copy.
>
> I want to get the revision number of the HEAD of the repository from
> the repository's URL.

Try "svn log -q -rHEAD URL". For example

   $ svn log -q -rHEAD http://svn.collab.net/repos/svn/
   ------------------------------------------------------------------------
   r11606 | sunny256 | 2004-10-23 19:25:56 -0500 (Sat, 23 Oct 2004)
   ------------------------------------------------------------------------
   $

 -Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Oct 24 04:17:21 2004

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.