aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-09-03 23:07:07 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-09-03 23:07:07 +0000
commit69336315018287f8fab97bf2c17d10b8e3d712fc (patch)
tree0404438367a925e08af0bce114bd77651c85b61c
parent7f243ae21ae07f94efc11fbf943b46ddafe460c0 (diff)
downloadikiwiki-69336315018287f8fab97bf2c17d10b8e3d712fc.tar
ikiwiki-69336315018287f8fab97bf2c17d10b8e3d712fc.tar.gz
minor
-rw-r--r--IkiWiki/Rcs/svn.pm2
1 files changed, 1 insertions, 1 deletions
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;