Can't use out() in construct_file_changes()
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 20:01:52 +0000 (20:01 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 20:01:52 +0000 (20:01 +0000)
includes/svncommon.php

index c1f4c8e6acb5eac574ff03d921c3882119b6bbad..70d293d023414fc7fc627e936065313c89f4ad18 100644 (file)
@@ -216,10 +216,10 @@ class SVNCommon
                                $class = 'file_move';
                                $tooltip = 'Moved/Copied';
                                preg_match('#(.*):([0-9]+)#', $file['from'], $matches);
-                               $link['from'] = $viewsvn->paths->out('view.php' . $viewsvn->paths->fetch_rev_str(false, $matches[2]), $repos . $matches[1]);
+                               $link['from'] = $viewsvn->path . '/view.php/' . $repos . '/' . $matches[1] . Paths::fetch_rev_str(false, $matches[2]);
                        }
                        
-                       $link['file'] = $viewsvn->paths->out('view.php' . $viewsvn->paths->fetch_rev_str(false, $revision), $repos . $file['file']);
+                       $link['file'] = $viewsvn->path . '/view.php/' . $repos . '/' . $file['file'] . Paths::fetch_rev_str(false, $revision);
                        
                        eval('$files .= "' . $viewsvn->template->fetch('file_change') . '";');
                }