From: joey Date: Thu, 16 Mar 2006 21:20:33 +0000 (+0000) Subject: optimise svn log a bit X-Git-Tag: 1.0~341 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7bbfbf82fb17c05cc70ec042c1fdd4e0fb370b12;p=ikiwiki.git optimise svn log a bit --- 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';