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

How can I determine the base URL of a repository?

From: Doyle, Patrick <WPD_at_dtccom.com>
Date: 2005-11-03 22:23:02 CET

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.

Any thoughts?


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:30:32 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.