test svn sync and commit actions updating

This commit is contained in:
aaronchen2k
2020-02-01 15:52:03 +08:00
parent 2b0ca55415
commit 575d7ce549
8 changed files with 169 additions and 104 deletions
+8 -2
View File
@@ -123,7 +123,10 @@ class git extends control
$parsedObjects = array('stories' => array(), 'tasks' => array(), 'bugs' => array());
foreach($parsedLogs as $log)
{
$objects = $this->git->parseComment($log->msg);
$allCommands = [];
$scm = $this->app->loadClass('scm');
$objects = $scm->parseComment($log->msg, $allCommands);
if($objects)
{
$this->git->saveAction2PMS($objects, $log, $repoRoot);
@@ -181,7 +184,10 @@ class git extends control
$parsedFiles[$action][] = ltrim($path, '/');
}
$objects = $this->git->parseComment($message);
$allCommands = [];
$scm = $this->app->loadClass('scm');
$objects = $scm->parseComment($message, $allCommands);
if($objects)
{
$log = new stdclass();