https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
043fa42
)
Revisions cache is created from logs cache, prevents having to query twice
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 28 Aug 2005 22:24:12 +0000
(22:24 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 28 Aug 2005 22:24:12 +0000
(22:24 +0000)
includes/svnlib.php
patch
|
blob
|
history
diff --git
a/includes/svnlib.php
b/includes/svnlib.php
index d05a01f0fa618a9bf705123c87054b5dd87a6761..a35da19f69d818357c61c4c2093d55a8c1778385 100644
(file)
--- a/
includes/svnlib.php
+++ b/
includes/svnlib.php
@@
-358,9
+358,9
@@
class SVNCommon
{
if (!isset($this->revisions["$path"]))
{
- $log =
new SVNLog($this->registry->paths->fetch_repos($path), $this->registry->paths->fetch_path($path), 0, 0
);
+ $log =
$this->fetch_logs($path
);
- $revs = array_keys($log
->fetch()
);
+ $revs = array_keys($log);
$this->revisions["$path"] = array(
'HEAD' => $revs[0],