From fccdcaa878912ef7e62301ddb6aecef614300849 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Sun, 25 Jan 2009 21:22:38 +0100 Subject: [PATCH] Fully fix issue 112, creating Mercurial also gives Subversion repos. --- src/IDF/Plugin/SyncMercurial.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/IDF/Plugin/SyncMercurial.php b/src/IDF/Plugin/SyncMercurial.php index c45c0d6..7ebf9f5 100644 --- a/src/IDF/Plugin/SyncMercurial.php +++ b/src/IDF/Plugin/SyncMercurial.php @@ -113,6 +113,9 @@ class IDF_Plugin_SyncMercurial */ function processSyncAuthz($project) { + if ($project->getConf()->getVal('scm') != 'mercurial') { + return false; + } $this->SyncAccess($project); $this->generateProjectPasswd($project); }