summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-16 19:23:11 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-16 19:23:11 -0400
commit9265ce85b6905024a45e66b89bd6c9c910c0b07a (patch)
treeef701cacd13cc1bc89a6aff0302927a10e4645a4 /IkiWiki
parent64bc7d60a22ce33dca5434177cb0b410caca6102 (diff)
squelch warning
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;