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); }