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

Re: revision number of head revision without working copy

From: Garrett Rooney <rooneg_at_gmail.com>
Date: 2004-07-01 16:47:42 CEST

On Thu, 01 Jul 2004 16:40:14 +0200, Dirk Hoffmann <dh.discuss@web.de> wrote:
> Hello,
> is there a way to get the revision number of the HEAD revision of a
> repository without a working copy.
> I tried `snv log -r HEAD <url of repository>' which works fine as long
> as a log message had been provided for this revision.
> But what if not?

Umm, there's always a log message provided for a revision... You
might have a problem if the HEAD revision didn't modify the part of
the repository you're refering to with the URL (say if you're giving
it svn://foo/repos/trunk but the most recent modification was actually
in svn://foo/repos/branches), but you can get around that by passing
the url to the root of the repository.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 1 16:52: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.