From 7f9d1b0d5c7976875e0575d60b23c1010ea9845f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 22:16:04 +0000 Subject: [PATCH] cacheV now stores the right paths... this makes me very happy --- includes/cachev.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/cachev.php b/includes/cachev.php index 0df7c93..13fc600 100644 --- a/includes/cachev.php +++ b/includes/cachev.php @@ -351,7 +351,9 @@ class cacheV ); } - $inserts['nodes'][] = "('$node[path]', '" . $node['kind'] . "', " . $node['commit']['revision'] . ", '" . $this->controller->registry->escape(serialize($loglist)) . "', '" . $this->controller->registry->escape(serialize($proplist["$node[path]"])) . "')"; + $path = str_replace($this->controller->repospath, '', $node['url']['value']); + + $inserts['nodes'][] = "('$path', '" . $node['kind'] . "', " . $node['commit']['revision'] . ", '" . $this->controller->registry->escape(serialize($loglist)) . "', '" . $this->controller->registry->escape(serialize($proplist["$path"])) . "')"; } // insert _revs -- 2.22.5