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

Re: No repository-listing via SVNListParentPath for symlinks

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-17 09:34:50 CEST

On Apr 17, 2007, at 01:40, Michael Thomas wrote:

> after using subversion in combination with Apache httpd for quite a
> while I changed my directory structure from one single path
> containing all my repositories to several paths. I like to keep all
> repositories in one place though, so I decided to use symlinks for
> that.
>
> Basically I have this structure:
>
> svn
> |--repos #contains all repositories
> |---svn1 #served as /svn1, with symlinks to some repositories
> |---svn2 #served as /svn2, with symlinks to some other repositories
> ...
>
> I also used to have SVNListParentPath enabled to get a listing of all
> repositories. Unfortunately there are no symlinked repositories in
> the list - everything else works fine, I can access them directly via
> their URL, non-symlinked repositories do show up in the list.

I can confirm this with Subversion 1.4.3: If I have a directory
containing several repositories and I use SVNParentPath and
SVNListParentPath, they all show up in the web browser like they
should, but a symlink in that directory does not, even if it points
to a repository.

Worse, if I have other directories in there which are not
repositories, SVNListParentPath will show them, which it should not.

Admittedly, this functions exactly as documented in the revision log:

http://svn.collab.net/viewvc/svn?view=rev&revision=16158

But this probably isn't how users would expect it to work. Subversion
should probably parse symlinks in addition to directories, and only
show them in the list if it really is a repository (for example, just
checking if the format file exists would be an improvement).

I don't see an open report for either of these issues in the issue
tracker.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 17 09:37:17 2007

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.