From 97e2bdbeddb5d8acba5247abfe36dd6ea49d11e0 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 12 Jan 2006 18:35:53 +0000 Subject: [PATCH] Change to storing $node['commit']['revision'] in _nodes --- includes/cachev.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/cachev.php b/includes/cachev.php index 11bdcd9..53b024d 100644 --- a/includes/cachev.php +++ b/includes/cachev.php @@ -308,7 +308,6 @@ class cacheV $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'], @@ -317,7 +316,7 @@ class cacheV ); } - $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 -- 2.22.5