https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd18af
)
Change build() to change an empty node name with /
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 22:35:56 +0000
(22:35 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 22:35:56 +0000
(22:35 +0000)
includes/cachev.php
patch
|
blob
|
history
diff --git
a/includes/cachev.php
b/includes/cachev.php
index ebb716e1cf29bbe17c52bc7938b8f5f5777a7c87..7215739e14e66cba9138029b2538bdc28bf3bb9f 100644
(file)
--- a/
includes/cachev.php
+++ b/
includes/cachev.php
@@
-351,6
+351,7
@@
class cacheV
}
$path = str_replace($this->controller->repospath, '', $node['url']['value']);
+ $path = ($path == '' ? '/' : $path);
$inserts['nodes'][] = "('$path', '" . $node['kind'] . "', " . $node['commit']['revision'] . ", '" . $this->controller->registry->escape(serialize($loglist)) . "', '" . $this->controller->registry->escape(serialize($proplist["$path"])) . "')";
}