aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/darcs.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-20 17:49:00 -0400
committerJoey Hess <joey@kitenet.net>2010-04-20 17:49:00 -0400
commitd578f3ff78190f816c74f6935e1e0024b25dc090 (patch)
tree7939e064ace66064088182a1480f14f2ed9ebeff /IkiWiki/Plugin/darcs.pm
parent93cf1db7b9655a64aec6ab17b7192e5e7429f12e (diff)
downloadikiwiki-d578f3ff78190f816c74f6935e1e0024b25dc090.tar
ikiwiki-d578f3ff78190f816c74f6935e1e0024b25dc090.tar.gz
darcs: ensure whole darcs query manifest output is consumed
By a stroke of luck, after a long & full day, I happened to remember that in the morning, I had seen someone on irc mention that darcs query manifest doesn't like it if its full output is not consumed. So contrary to the usual case where bug reports sent via irc are like messages written in sand before the new tide, this one was seen and fixed. (But use http://ikiwiki.info/bugs/ next time!)
Diffstat (limited to 'IkiWiki/Plugin/darcs.pm')
-rw-r--r--IkiWiki/Plugin/darcs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/darcs.pm b/IkiWiki/Plugin/darcs.pm
index c1d6661d3..f17fadcb1 100644
--- a/IkiWiki/Plugin/darcs.pm
+++ b/IkiWiki/Plugin/darcs.pm
@@ -63,7 +63,7 @@ sub file_in_vc ($$) {
}
my $found=0;
while (<DARCS_MANIFEST>) {
- $found = 1, last if /^(\.\/)?$file$/;
+ $found = 1 if /^(\.\/)?$file$/;
}
close(DARCS_MANIFEST) or error("'darcs query manifest' exited " . $?);