When installing websvn-1.61 out-of-the-box the system fails to display a repository, returning the message "No repository given". Reproducible: Always Steps to Reproduce: 1.emerge websvn 2.configure include/config.inc to add a repository 3.access "localhost/websvn" and access the repository previously specified Actual Results: System shows message "No repository given" Expected Results: Display the current repository Apparently, the bug is caused by a mismatch between the parameters in the url created by the config class and the parameters expected by the listing.php file. Config class creates an url with a parameter named "repname", but the file listing.php expects the parameter to be named "rep". This can be solved by simply replacing file include/configclass.inc, line 405 return $fname."?repname=".$rep->name."&path=".urlencode($path)."&"; with return $fname."?rep=".$rep->name."&path=".urlencode($path)."&";
Could you test by specifying a parent path instead of a direct repo? Your fix does not work btw as this shows the first repository http://localhost/websvn/listing.php?rep=dsfdsfsdfdsf&path=%2Fddddd&sc=0