MTrack/SCM/Git/CommitHookBridge.php
[web.mtrack] / MTrack / Repo.php
index 32ce88e..34d28a9 100644 (file)
@@ -5,7 +5,7 @@ require_once 'MTrack/Config.php';
 require_once 'MTrack/Project.php';
 require_once 'MTrack/SCMFileEvent.php';
  //require_once 'MTrack/Changeset.php';
-require_once 'MTrack/Wiki.php';
+//require_once 'MTrack/Wiki.php';
 
 
 class MTrack_Repo extends MTrackSCM 
@@ -32,7 +32,7 @@ class MTrack_Repo extends MTrackSCM
     
     static function factory($ar)
     {
-        print_r($ar);
+        //print_r($ar);
         $type = ucfirst($ar['scmtype']);
         $fn = 'MTrack/SCM/'.$type .'/Repo.php';
         $cls = 'MTrack_SCM_'.$type .'_Repo';
@@ -156,5 +156,11 @@ class MTrack_Repo extends MTrackSCM
     function diff($path, $from = null, $to = null) {}
     function getRelatedChanges($revision) {}
     function getSCMMetaData() { return null; }
-     
+    /**
+     *  converts a commit log message (cached locally into a working object..)
+     *  see Browse.php
+     */
+    function commitLogToEvent($str) {
+        throw new Exception("no implementation for commitLogToEvent");
+    }
 }