[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
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 ]]]
---------------------------------------------------------------------
|
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.