improve svn log regexp to deal with file copies/moves
# Note that this will overwrite any exsting
# post-commit hook script, which may not be
# what you want.
- wrapper => "$config{svnrepo}/hooks/post-commit",
+ wrapper => "/svn/wiki/hooks/post-commit",
wrappermode => 04755,
},
{
$user=$2;
$when=concise(ago(time - str2time($3)));
}
- elsif ($state eq 'header' && /^\s+[A-Z]\s+\Q$svn_base\E\/(.+)$/) {
+ elsif ($state eq 'header' && /^\s+[A-Z]\s+\Q$svn_base\E\/([^ ]+)(?:$|\s)/) {
push @pages, { link => htmllink("", pagename($1), 1) }
if length $1;
}