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

Re: Repository enumeration feature

From: Michael Sinz <michael.sinz_at_gmail.com>
Date: 2005-04-23 01:05:05 CEST

On 4/22/05, Molle Bestefich <molle.bestefich_at_gmail.com> wrote:> Branko Čibej wrote:> > Well, of course, that's what I meant. If you want repository> > enumeration, you need some kind of global registry of repositories on> > the machine. It's not the core components' job to provide one.> > Global registry? Why?> Each SVN server (pick-one://) hopefully has some kind of idea which> folder(s) it's serving to the client?
It is not that simple. You can have multiple server locations withineven a single HTTP server let alone multiple locations within thefilesystem. The svn+ssh:// method is really filesystem specific and thereis no good way to enumerate that without basically including the wholefilesystem as a repository can be placed most anywhere (and thatalso is system specific - Windows has drive letter based stuff,Unix has the unified directory tree but parts may be "special", etc)
If you don't know where the repository is, maybe you should not beusing it or you should read the page/readme/etc that points you atit. This is a generally and specifically hard problem with minimalbenefit. (Again, the one "easy" form is the HTTP/dav case and thatis also where it is easiest to make an automatic external solution.)
-- Michael Sinz Technology and Engineering Director/Consultant"Starting Startups" mailto:Michael.Sinz_at_sinz.orgMy place on the web http://www.sinz.org/Michael.Sinz
Received on Sat Apr 23 01:05:49 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.