https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3f70b3
)
Need to make sure we aren't dealing with the string HEAD in fetch_revision_context()
author
Robert Sesek <rsesek@bluestatic.org>
Mon, 23 Jan 2006 04:59:20 +0000
(
04:59
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Mon, 23 Jan 2006 04:59:20 +0000
(
04:59
+0000)
includes/cachev.php
patch
|
blob
|
history
diff --git
a/includes/cachev.php
b/includes/cachev.php
index 608c234bf2342f3d6a9eb8a358ef9a1166e8aaeb..fd9506ee25e89e3de427c6955999d62d8430e1a7 100644
(file)
--- a/
includes/cachev.php
+++ b/
includes/cachev.php
@@
-200,6
+200,11
@@
class cacheV
$data = $this->fetch_node();
$data = $data['history'];
+ if ($target == 'HEAD')
+ {
+ $target = $this->fetch_head_revision();
+ }
+
if (isset($data["$target"]))
{
return $this->fetch_revision($target);