From: joey Date: Mon, 20 Mar 2006 05:09:30 +0000 (+0000) Subject: fix setup file error X-Git-Tag: 1.0~292 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba335c94c7e1da5506f45e4c2ee8e521bad8bacd;p=ikiwiki.git fix setup file error improve svn log regexp to deal with file copies/moves --- diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup index e60d0f407..7167e6e57 100644 --- a/doc/ikiwiki.setup +++ b/doc/ikiwiki.setup @@ -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, }, { diff --git a/ikiwiki b/ikiwiki index 2130c4f78..d727d904a 100755 --- a/ikiwiki +++ b/ikiwiki @@ -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; }