$start = microtime();
// get _revs
- $output = $this->controller->registry->svn->svn('log --xml -v ' . ($revision !== null ? '-r' . $revision . ':HEAD ' : '') . $this->controller->registry->repos->fetch_path($this->controller->registry->paths->repos));
+ $output = $this->controller->library->svn('log --xml -v ' . ($revision !== null ? '-r' . $revision . ':HEAD ' : '') . $this->controller->repospath);
$output = implode("\n", $output);
$tree = $this->controller->registry->xml->parse($output);
// get _nodes
- $output = $this->controller->registry->svn->svn('info --xml -R ' . ($revision !== null ? '-r' . $revision . ':HEAD ' : '') . $this->controller->registry->repos->fetch_path($this->controller->registry->paths->repos));
+ $output = $this->controller->library->svn('info --xml -R ' . ($revision !== null ? '-r' . $revision . ':HEAD ' : '') . $this->controller->repospath);
$output = implode("\n", $output);
$infolist = $this->controller->registry->xml->parse($output);
// other part of _nodes: properties
- $output = $this->controller->registry->svn->svn('proplist -v -R ' . ($revision !== null ? ' -r' . $revision . ':HEAD ' : '') . $this->controller->registry->repos->fetch_path($this->controller->registry->paths->repos));
+ $output = $this->controller->library->svn('proplist -v -R ' . ($revision !== null ? ' -r' . $revision . ':HEAD ' : '') . $this->controller->repospath);
foreach ($output AS $line)
{
if (preg_match('#^Properties on \'(.*?)\':$#', $line, $bits))
{
$proplist["$index"]["$curprop"] = trim($proplist["$index"]["$curprop"]);
- $index = str_replace($this->controller->registry->repos->fetch_path($this->controller->registry->paths->repos), '', $bits[1]);
+ $index = str_replace($this->controller->repospath, '', $bits[1]);
$capture = false;
}
else
// construct list of HEAD nodes for _nodes
foreach ($infolist['info']['entry'] AS $node)
{
- $history = $this->controller->registry->svn->svn('log --xml ' . $node['url']['value']);
+ $history = $this->controller->library->svn('log --xml ' . $node['url']['value']);
$history = implode("\n", $history);
$history = $this->controller->registry->xml->parse($history);