[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: Krebs, Steven <steven.krebs_at_intel.com>
Date: 2004-10-27 00:22:02 CEST

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

C:\>svn log -q -v HEAD svn://itplab-svnsvr.dp.intel.com/eval
svn: '.' is not a working copy

C:\>svn log -q -v HEAD svn://itplab-svnsvr.dp.intel.com/deploy
svn: '.' is not a working copy

C:\>svn log -q -v HEAD svn://itplab-svnsvr.dp.intel.com/docs
svn: '.' is not a working copy

Steve

-----Original Message-----
From: Scott Palmer [mailto:scott.palmer@2connected.org]
Sent: Tuesday, October 26, 2004 5:05 AM
To: Subversion Users
Subject: Re: Getting HEAD revision number from a URL

I just wanted this for ease of use. E.g. why have svnversion when you
can parse the output of 'svn info' ? Seems the same reasons would
make 'svnversion URL' preferable to parsing the output of 'svn log -q
URL'.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 27 00:22:49 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.