diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-11 04:28:08 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-11 04:28:08 +0000 |
commit | f0b0114f778604f4f9c758600f71f706904ee666 (patch) | |
tree | ee7f37f8ca9051967b396f90c8ae62ee47b0dbe3 | |
parent | de3657747ab2b1fed00557497f3bf6531fd0b3ce (diff) |
recentchanges
-rwxr-xr-x | ikiwiki | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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+).*/; |