Merge branch 'devops18_46547' into 'devops18'

* Finish task#46547

See merge request easycorp/zentaopms!1168
This commit is contained in:
李玉春
2021-12-28 08:21:46 +00:00

View File

@@ -563,6 +563,7 @@ class repo extends control
$this->commonAction($repoID, $objectID);
$this->scm->setEngine($repo);
$log = $this->scm->log('', $revision, $revision);
$log[0]->comment = $this->repo->replaceCommentLink($log[0]->comment);
$history = $this->dao->select('*')->from(TABLE_REPOHISTORY)->where('revision')->eq($log[0]->revision)->andWhere('repo')->eq($repoID)->fetch();
if($history)