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

Re: Tagging + branching

From: Jim Correia <jim.correia_at_pobox.com>
Date: 2004-10-01 19:28:38 CEST

On Oct 1, 2004, at 1:24 PM, Monks, Peter wrote:

> Thanks for your reply. One further question: is there a simple way to
> get the revision number for the HEAD revision, without having a
> working copy checked out?
>
> "svn status -u" with parsing looked promising, but it doesn't seem to
> accept repository URLs (only local working copy paths, and in this
> case I don't have a working copy).

If you are willing to parse the output,

svn log -rHEAD http://svn.example.com/svn/

should do the trick. (I don't know if there is a more straightforward
way from the client side. If you are on the server svnlook youngest
/repos/path is the way to go.)

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 1 19:29:00 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.