From: joey Date: Sun, 3 Sep 2006 23:07:07 +0000 (+0000) Subject: minor X-Git-Tag: 1.25~49 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/69336315018287f8fab97bf2c17d10b8e3d712fc?ds=sidebyside minor --- diff --git a/IkiWiki/Rcs/svn.pm b/IkiWiki/Rcs/svn.pm index 9345b7fd2..e4fe2807d 100644 --- a/IkiWiki/Rcs/svn.pm +++ b/IkiWiki/Rcs/svn.pm @@ -256,7 +256,6 @@ sub rcs_notify () { #{{{ sub rcs_getctime ($) { #{{{ my $file=shift; - eval q{use Date::Parse}; my $svn_log_infoline=qr/^r\d+\s+\|\s+[^\s]+\s+\|\s+(\d+-\d+-\d+\s+\d+:\d+:\d+\s+[-+]?\d+).*/; @@ -278,6 +277,7 @@ sub rcs_getctime ($) { #{{{ return 0; } + eval q{use Date::Parse}; $date=str2time($date); debug("found ctime ".localtime($date)." for $file"); return $date;