aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Render.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-19 22:14:22 -0400
committerJoey Hess <joey@kitenet.net>2010-04-19 22:14:22 -0400
commit2111bf0408620a307c8c0373489ef34ca6626fd2 (patch)
treead047e83333734bc5095173d2ef3bcdc33137f14 /IkiWiki/Render.pm
parent7c0a2830f284d751798811245e92f87b13b564cb (diff)
downloadikiwiki-2111bf0408620a307c8c0373489ef34ca6626fd2.tar
ikiwiki-2111bf0408620a307c8c0373489ef34ca6626fd2.tar.gz
move message into if block
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r--IkiWiki/Render.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index a6b0f0617..1114e05c8 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -366,13 +366,13 @@ sub find_new_files ($) {
push @internal_new, $file;
}
elsif ($config{rcs}) {
- if (! $times_noted) {
- debug(sprintf(gettext("querying %s for file creation and modification times.."), $config{rcs}));
- $times_noted=1;
- }
-
push @new, $file;
if ($config{gettime} && -e "$config{srcdir}/$file") {
+ if (! $times_noted) {
+ debug(sprintf(gettext("querying %s for file creation and modification times.."), $config{rcs}));
+ $times_noted=1;
+ }
+
eval {
my $ctime=rcs_getctime("$config{srcdir}/$file");
if ($ctime > 0) {