From: joey Date: Sat, 11 Mar 2006 04:28:08 +0000 (+0000) Subject: recentchanges X-Git-Tag: 1.0~519 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0b0114f778604f4f9c758600f71f706904ee666;p=ikiwiki.git recentchanges --- diff --git a/ikiwiki b/ikiwiki index a89b24bb7..a9f3b8c51 100755 --- a/ikiwiki +++ b/ikiwiki @@ -379,9 +379,9 @@ sub rcs_recentchanges ($) { my $info=`LANG=C svn info $srcdir`; my ($svn_url)=$info=~/^URL: (.*)$/m; - # FIXME: currently assumes that the wiki is under trunk in - # svn. - my ($svn_base)=$svn_url=~m!(/trunk/.*)!; + # FIXME: currently assumes that the wiki is somewhere + # under trunk in svn, doesn't support other layouts. + my ($svn_base)=$svn_url=~m!(/trunk(?:/.*)?)$!; my $div=qr/^--------------------+$/; my $infoline=qr/^r(\d+)\s+\|\s+([^\s]+)\s+\|\s+(\d+-\d+-\d+\s+\d+:\d+:\d+\s+[-+]?\d+).*/;