[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: Dominic Anello <danello_at_danky.com>
Date: 2004-10-27 01:07:20 CEST

On 2004-10-26 15:22:02 -0700, Krebs, Steven wrote:
> When I do svn log -q URI I have to have a working copy, I would like to
> query various repositories without having to have a local working copy.
>
> In my case I have 4 separate repositories (source, eval, deploy and
> docs). Each over a Gigabyte of data, and I want a script to determine
> what the current HEAD revision of each is without having a working copy.
>
> C:\>svn log -q -v HEAD svn://itplab-svnsvr.dp.intel.com/source
> svn: '.' is not a working copy
----8<----

HEAD is a revision keyword, try the following:
C:\>svn log -q -v -r HEAD svn://itplab-svnsvr.dp.intel.com/source

Your previous command was trying to get a listing of a file called
C:\HEAD

-Dominic

  • application/pgp-signature attachment: stored
Received on Wed Oct 27 01:05:23 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.