From 7bbfbf82fb17c05cc70ec042c1fdd4e0fb370b12 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 16 Mar 2006 21:20:33 +0000 Subject: [PATCH] optimise svn log a bit --- ikiwiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ikiwiki b/ikiwiki index cb90ef04f..bda2d0401 100755 --- a/ikiwiki +++ b/ikiwiki @@ -504,7 +504,7 @@ sub rcs_recentchanges ($) { #{{{ my $infoline=qr/^r(\d+)\s+\|\s+([^\s]+)\s+\|\s+(\d+-\d+-\d+\s+\d+:\d+:\d+\s+[-+]?\d+).*/; my $state='start'; my ($rev, $user, $when, @pages, @message); - foreach (`LANG=C svn log -v '$svn_url'`) { + foreach (`LANG=C svn log --limit $num -v '$svn_url'`) { chomp; if ($state eq 'start' && /$div/) { $state='header'; -- 2.26.2