From 5a6007d1eebcfc2c7743171975a239751dca7f71 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 23 Dec 2005 20:44:27 +0000 Subject: [PATCH] We need a + instead of * to match the revision strings --- includes/svnlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/svnlib.php b/includes/svnlib.php index fe96552..c8a0875 100644 --- a/includes/svnlib.php +++ b/includes/svnlib.php @@ -125,7 +125,7 @@ class SVNLib $message = $viewsvn->entity_encode($message); - $message = preg_replace('#r([0-9]*)#e', '"path . "/" . $viewsvn->paths->out("diff.php" . $viewsvn->paths->fetch_rev_str(true, "\1", 0), $viewsvn->paths->fetch_repos($viewsvn->paths->parse()) . "/") . "\">r\1"', $message); + $message = preg_replace('#r([0-9]+)#e', '"path . "/" . $viewsvn->paths->out("diff.php" . $viewsvn->paths->fetch_rev_str(true, "\1", 0), $viewsvn->paths->fetch_repos($viewsvn->paths->parse()) . "/") . "\">r\1"', $message); $list = false; $lines = explode("\n", $message); -- 2.43.5