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

Re: finding available repositories

From: Ximon Eighteen <ximon.eighteen_at_int.greenpeace.org>
Date: 2005-09-06 00:18:06 CEST

Vincent Starre wrote:
> well svn itself checks for a "format" file to determine if a given
> directory is a repository, so I'd say do the same: search for a file
> called "format" More complex than just that would filter out all the
> other files called "format", but there's a starting point.

I am doing exactly this in my nightly script that runs (as previously
recommended by a poster to this list, thanks!) svnadmin verify on all my
repositories. Of course my script knows there is a base directory under which
all repositories will exist (either as direct children or at some deeper
level) which makes things a little simpler.

The original poster didn't specify if the desire was to see the list of
repositories available from a remote machine or by running a command on the
server hosting the repositories. The latter has been answered, and I think the
former is impossible using a subversion server alone. For example TortoiseSVN
cannot determine the repositories (AFAIK) available at a URL but expects you
to give it the exact path... after that it can use svn ls to browse inside the
repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 6 00:20:56 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.