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

Re: Additional parameter for svn to list directoriy with multiple/parallel/differents repositories

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Thu, 5 Jun 2008 19:33:48 -0500

On Jun 5, 2008, at 05:24, John Peacock wrote:

> Ryan Schmidt wrote:
>> We have SVNListParentPath which is useful for some purposes. Yet
>> to view the list of repositories you have to be in a web browser.
>> It could be a useful extension to allow "svn ls" to see the list
>> of repositories produced by SVNListParentPath.
> The problem is that 'svn ls' expects that it is speaking directly
> to a repository, in that it would only expect a single UUID,
> whereas SVNListParentPath synthesizes a webpage, but it doesn't
> have to deal with the fact that the child folders are different
> repos with different UUID's. It would also be, IMNSHO, a very bad
> thing that 'svn ls' would show you something that you couldn't then
> use the same URL with 'svn co'...

I can see your point. (Though please also see mine, which is that the
end user just wants to "list" what's at the given URL, whether it's a
"list" of repositories or a "list" of what's in a repository.) To
satisfy your concern, there could be a new command, like "svn
lsrepos" which would show the list of repositories in the directory
given by the URL. And presumably a new API function behind it, that
other clients could call.

>> Also, it might be useful to extend svnserve so that it too can
>> optionally return a list of repositories in a single parent
>> directory.
> Actually, I could have sworn that someone already had done this,
> but I couldn't find it in the Book or CHANGES file, and I was too
> tired to look at the source code.
> None of this changes the fact that there is no way to "register"
> the repositories present on a box, hence there is no way to iterate
> over such a list, which is what the OP wants...

It sounds like the OP would be happy with a way to see a list of
repositories that are hosted within a single directory on the server.
SVNListParentPath meets that need for Apache-hosted repositories, but
the OP wants it for svnserve-hosted repositories. And even for Apache-
hosted repositories, it would be useful to have a way to see the list
that doesn't require using a web browser.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-06 02:34:47 CEST

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.