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

[PATCH] Please review : repositories recursive finding with SVNParentPath

From: Stephane Crivisier <stephane.crivisier_at_epitech.net>
Date: 2007-12-09 15:03:35 CET

Hi

I'm attaching a patch which enable recursive finding of repositories
with SVNParentPath.
I hope some of you can have a look a it and tell me what's good and
what's wrong.
This feature seems to be asked by someone regulary, it may be
something you can review and add. I hope to see it in subversion one
day.
I worked on 1.4.x branche if this might help.

Thanks a lot to each of you.

--
Stephane
[[[
recursively search for repository when accessing mod_dav_svn with
SVNParentPath enabled and when SVNListParentPath is enabled, allow
user to "navigate" through the directory tree
This means that you can have your SVNParentPath to /svn and create a
directories tree before creating your repositories. When accessing
with a browser, you'll get the current listing plus navigation through
the tree before looking to a specific repository.
 * subversion/libsvn_repos/repos.c
make check_repos_path() a non static function to be able to use it in
mod_dav_svn
 * subversion/include/svn_repos.h
add check_repos_path() prototype
 * subversion/mod_dav_svn/repos.c
add a test to the repository before telling the name of this repo. If
this isn't a valid repository (by the way check_repos_path() check
it), it will try to get a new chunk of the uri and test it again and
again unless there is no more uri chunk.
also add the root_path to the repos structure when building the dav
resource and use it when it builds the directory content list
]]]


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

Received on Sun Dec 9 15:03:46 2007

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.