MTrack/SCM/WorkingCopy.php
[web.mtrack] / MTrack / CommitChecker.php
index 5d4ab9a..469f17c 100644 (file)
@@ -193,10 +193,11 @@ class MTrack_CommitChecker {
             require_once 'MTrack/CommitHookChangeEvent.php';
             $c = new MTrackCommitHookChangeEvent;
             $c->rev         = $bridge->getChangesetDescriptor();
-            $c->changelog = $bridge->getCommitMessage();
-            $c->changeby = $this->authUser->email; //???
+            $c->changelog   = $bridge->getCommitMessage();
+            $c->changeby    = $this->authUser->email; //???
             $c->changeby_id = $this->authUser->id; //???
-            $c->ctime = time();
+            $c->ctime       = time();
+            $c->fileActions = $bridge->fileActions;
             $changes[] = $c;
         }
         return $changes;
@@ -240,6 +241,9 @@ class MTrack_CommitChecker {
         
         $me = $this->authUser;
 
+
+
+
         foreach ($changes as $c) {
             $tickets = array();
             $log = $c->changelog;
@@ -255,6 +259,7 @@ class MTrack_CommitChecker {
             }
             if (count($tickets) == 0) {
                 $no_ticket[] = $c;
+                
                 continue;
             }
             
@@ -322,8 +327,9 @@ class MTrack_CommitChecker {
             $this->checkVeto('postCommit', $log, $fqfiles, $actions);
         }
         
-        // defered is a list of actions...
         
+        // defered is a list of actions...
+        $this->no_ticket = $no_ticket;
         $this->deferred = $deferred;
         $this->spent_by_tid_by_user = $spent_by_tid_by_user;