mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 19:29:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6570 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
212bb37731
commit
5811013d2b
1 changed files with 11 additions and 9 deletions
|
|
@ -452,15 +452,17 @@
|
|||
$gap = $status->revision-$latestRevision;
|
||||
if($gap > 500) $gap = 500;
|
||||
$logs = $oSvn->getLog("/", $latestRevision+1, $status->revision, false, $gap, false);
|
||||
foreach($logs as $log)
|
||||
{
|
||||
$obj = null;
|
||||
$obj->revision = $log->revision;
|
||||
$obj->author = $log->author;
|
||||
$obj->date = date("YmdHis", strtotime($log->date));
|
||||
$obj->message = trim($log->msg);
|
||||
$obj->module_srl = $module_info->module_srl;
|
||||
executeQuery("issuetracker.insertChangeset", $obj);
|
||||
if(count($lost)) {
|
||||
foreach($logs as $log)
|
||||
{
|
||||
$obj = null;
|
||||
$obj->revision = $log->revision;
|
||||
$obj->author = $log->author;
|
||||
$obj->date = date("YmdHis", strtotime($log->date));
|
||||
$obj->message = trim($log->msg);
|
||||
$obj->module_srl = $module_info->module_srl;
|
||||
executeQuery("issuetracker.insertChangeset", $obj);
|
||||
}
|
||||
}
|
||||
$latestRevision = $oModel->getLatestRevision($module_info->module_srl);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue