https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd943d0
)
Add support for single revision number passing
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 22:36:49 +0000
(22:36 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 22:36:49 +0000
(22:36 +0000)
diff.php
patch
|
blob
|
history
diff --git
a/diff.php
b/diff.php
index ed3bfadc0f22b5cb92467af45bf91b34571258e2..446ac9bd01dcb3a2e1ad7d04b346d85a4149d118 100644
(file)
--- a/
diff.php
+++ b/
diff.php
@@
-38,9
+38,16
@@
$link['log'] = $controller->href_compound('log.php');
// ###################################################################
-$revs = Paths::fetch_rev_num(true);
-$high = $revs['high'];
-$low = $revs['low'];
+if (isset($viewsvn->in['rev']))
+{
+ $high = Paths::fetch_rev_num(false);
+}
+else
+{
+ $revs = Paths::fetch_rev_num(true);
+ $high = $revs['high'];
+ $low = $revs['low'];
+}
if ($high == 'HEAD')
{