diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php index 7af763acc688dd37b503bff969f3582ba5714419..4a859b54677f49022e69a7421d5744fd43b9f946 100644 --- a/public_html/deployment/classes/project.class.php +++ b/public_html/deployment/classes/project.class.php @@ -1726,9 +1726,8 @@ class project extends base $aVersion = $this->_oVcs->getRevision($sTempBuildDir); $sRevision = $aVersion["revision"]; $sCommitMsg = $aVersion["message"]; - $sCommitMsg = str_replace("\n", "<br>", $sCommitMsg); - $sCommitMsg = str_replace('"', """, $sCommitMsg); - $sReturn .= $this->_oHtml->getBox("info", $sCommitMsg); + $sReturn .= $this->_oHtml->getBox("info", t('commitmessage') . '<pre>'.htmlentities($sCommitMsg).'</pre>'); + $sReturn .= $this->_execAndSend("ls -lisa $sTempBuildDir"); @@ -1901,16 +1900,6 @@ class project extends base 'revision' => $sRevision, 'message' => $sCommitMsg, ); - /* - $sInfos = '{ - "date": "' . $sTs . '", - "version": "' . $sTs2 . '", - "branch": "' . $sBranch . '", - "revision": "' . $sRevision . '", - "message": "' . $sCommitMsg . '" - }'; - * - */ /* "user": "' . $aParams["inputUser"] . '", "remark": "' . $aParams["inputComment"] . '"