- # 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(?:/.*)?)$!;