Don't allow revision ranges; use HEAD
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 11 Sep 2005 22:58:44 +0000 (22:58 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 11 Sep 2005 22:58:44 +0000 (22:58 +0000)
log.php

diff --git a/log.php b/log.php
index 3258fdc6eedf6122caf15efaf02ca2a0b0d20e1c..79260ea76380f1213f1a6e73600db56a4239a773 100644 (file)
--- a/log.php
+++ b/log.php
@@ -31,7 +31,7 @@ $navbar = $viewsvn->paths->construct_breadcrumb($path, false);
 // ###################################################################
 
 // this is NOT supposed to allow for revision ranges
-$logs = new SVNLog($repos, $relpath, 0, $viewsvn->paths->fetch_rev_num());
+$logs = new SVNLog($repos, $relpath, 0, $viewsvn->svn->common->fetch_head_rev($path));
 
 $isdir = $viewsvn->svn->common->isdir($path);