fix setup file error

improve svn log regexp to deal with file copies/moves
master
joey 2006-03-20 05:09:30 +00:00
parent d1cef7a6ab
commit ba335c94c7
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ use IkiWiki::Setup::Standard {
# 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,
},
{

View File

@ -567,7 +567,7 @@ sub rcs_recentchanges ($) { #{{{
$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;
}