diff -urpN websvn.sik/include/configclass.inc websvn/include/configclass.inc --- websvn.sik/include/configclass.inc 2007-08-29 20:36:41.000000000 +0200 +++ websvn/include/configclass.inc 2007-08-29 20:56:18.000000000 +0200 @@ -213,6 +213,8 @@ Class Config var $ignoreSvnMimeTypes = false; var $ignoreWebSVNContentTypes = false; + var $excludedRepositories = array(); + // Default character encodings var $inputEnc = ""; var $outputEnc; @@ -231,8 +233,9 @@ Class Config if (($path{strlen($path) - 1} == DIRECTORY_SEPARATOR) || ($path{strlen($path) - 1} == "/")) $path = substr($path, 0, -1); - - $this->_repositories[] = new Repository($name, $path); + if(!in_array($name,$this->excludedRepositories)) { + $this->_repositories[] = new Repository($name, $path); + } } function getRepository($rep) @@ -502,6 +505,17 @@ Class Config $this->templatePath = $path; } + // excludeRepository + // + // Excludes a repository from appearing in websvn + function excludeRepository($repository) + { + $repclean=trim($repository); + if($repclean) { + $this->excludedRepositories[]=$repclean; + } + } + // parentPath // // Automatically set up the repositories based on a parent path