You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Michael Thomas <mi...@gmx.net> on 2007/04/17 06:40:02 UTC

No repository-listing via SVNListParentPath for symlinks

Hello,

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. 	

Any ideas on what went wrong?

Regards
Michael Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: No repository-listing via SVNListParentPath for symlinks

Posted by Ryan Schmidt <su...@ryandesign.com>.
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