summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/svn.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/svn.pm b/IkiWiki/Plugin/svn.pm
index 6e1d4a40f..d10b4888d 100644
--- a/IkiWiki/Plugin/svn.pm
+++ b/IkiWiki/Plugin/svn.pm
@@ -357,7 +357,7 @@ my ($lastfile, $lastmtime, $lastctime);
sub findtimes ($) {
my $file=shift;
- if ($lastfile eq $file) {
+ if (defined $lastfile && $lastfile eq $file) {
return $lastmtime, $lastctime;
}
$lastfile=$file;