From e493d7e178a68f6406e5a9aa3c33cabb1460f265 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 28 Aug 2005 20:41:12 +0000 Subject: [PATCH] Got cat working with old revisions --- includes/svnlib.php | 8 ++------ view.php | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/includes/svnlib.php b/includes/svnlib.php index ad293d9..4d12991 100644 --- a/includes/svnlib.php +++ b/includes/svnlib.php @@ -165,12 +165,8 @@ class SVNLib * @return array Lines of cat output */ function cat($repos, $path, $revision) - { - global $viewsvn; - - $repospath = $viewsvn->repos->fetch_path($repos, false); - - return $this->svn('cat ' . $repospath . $path . '@' . $revision); + { + return $this->std('cat', $repos, $path, $revision); } /** diff --git a/view.php b/view.php index 0decd02..0b2e47c 100644 --- a/view.php +++ b/view.php @@ -18,7 +18,7 @@ $relpath = $viewsvn->paths->fetch_path($path); echo $viewsvn->paths->construct_breadcrumb($path, false); -echo ' +echo '
'; -- 2.22.5