Fully fix issue 112, creating Mercurial also gives Subversion repos.

This commit is contained in:
Loic d'Anterroches 2009-01-25 21:22:38 +01:00
parent dd6517c709
commit fccdcaa878

View File

@ -113,6 +113,9 @@ class IDF_Plugin_SyncMercurial
*/ */
function processSyncAuthz($project) function processSyncAuthz($project)
{ {
if ($project->getConf()->getVal('scm') != 'mercurial') {
return false;
}
$this->SyncAccess($project); $this->SyncAccess($project);
$this->generateProjectPasswd($project); $this->generateProjectPasswd($project);
} }