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

Re: How can I determine the base URL of a repository?

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-11-03 22:51:23 CET

On 3-Nov-05, at 4:31 PM, Garrett Rooney wrote:

> On 11/3/05, Doyle, Patrick <WPD@dtccom.com> wrote:
>> Is there some mechanism I can use to determine the URL of a
>> repository from
>> within the working copy?
>>
>> I can use:
>>
>> $ svn info | grep URL
>>
>> but that gives me the repository _plus_ the name of the directory
>> within the
>> repository, e.g.
>>
>> URL: file:///home/wpd/testsvn/trunk/dir1/dir2
>>
>> I would like to get just the file:///home/wpd/testsvn part.
>
> Try 'svn info | grep Repository', assuming you've got a recent enough
> version of svn it should be there.

That just gets the UUID, not a URL. Using svn 1.2.3.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 3 22:53:51 2005

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.