$latestrev = -1;
foreach ($history['log']['logentry'] AS $log)
{
- //$latestrev = ($log['revision'] > $latestrev ? $log['revision'] : $latestrev);
$loglist["$log[revision]"] = array(
'revision' => $log['revision'],
'author' => $log['author']['value'],
);
}
- $inserts['nodes'][] = "('$node[path]', '" . $node['kind'] . "', " . $node['revision'] . ", '" . $this->registry->escape(serialize($loglist)) . "', '" . $this->registry->escape(serialize($proplist["$node[path]"])) . "')";
+ $inserts['nodes'][] = "('$node[path]', '" . $node['kind'] . "', " . $node['commit']['revision'] . ", '" . $this->registry->escape(serialize($loglist)) . "', '" . $this->registry->escape(serialize($proplist["$node[path]"])) . "')";
}
// insert _revs