prune($config{destdir}."/".$_)
foreach @{$oldrenderedfiles{$page}};
delete $pagesources{$page};
+ foreach (keys %destsources) {
+ if ($destsources{$_} eq $page) {
+ delete $destsources{$_};
+ }
+ }
}
}
* Fix graphviz plugin to not try to read images as utf-8; they might
sometimes contain invalid utf-8 byte sequences. Thanks,
HenrikBrixAndersen.
+ * Fix re-rendering of pages when a linked to page goes away. This was broken
+ in version 1.50 with the addition of %destsources. Thanks, Ethan
+ Glasser-Camp.
- -- Joey Hess <joeyh@debian.org> Tue, 24 Jul 2007 22:14:41 -0400
+ -- Joey Hess <joeyh@debian.org> Thu, 26 Jul 2007 15:30:22 -0400
ikiwiki (2.4) unstable; urgency=low
are found to be deleted. It's a little inelegant, but it's simple and it
works. --Ethan
-<pre>
-diff -urX ignorepats ikiwiki/IkiWiki/Render.pm ikidev/IkiWiki/Render.pm
---- ikiwiki/IkiWiki/Render.pm 2007-07-25 15:58:24.501068000 -0700
-+++ ikidev/IkiWiki/Render.pm 2007-07-25 20:08:32.966449000 -0700
-@@ -320,6 +320,11 @@
- prune($config{destdir}."/".$_)
- foreach @{$oldrenderedfiles{$page}};
- delete $pagesources{$page};
-+ foreach (keys %destsources){
-+ if ($destsources{$_} == $page) {
-+ delete $destsources{$_};
-+ }
-+ }
- }
- }
-
-</pre>
-
+Thankyou for the [[patch]]! [[Done]]. --[[Joey]]
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-07-24 22:29-0400\n"
+"POT-Creation-Date: 2007-07-26 15:36-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "removing old page %s"
msgstr ""
-#: ../IkiWiki/Render.pm:343
+#: ../IkiWiki/Render.pm:348
#, perl-format
msgid "scanning %s"
msgstr ""
-#: ../IkiWiki/Render.pm:348
+#: ../IkiWiki/Render.pm:353
#, perl-format
msgid "rendering %s"
msgstr ""
-#: ../IkiWiki/Render.pm:360
+#: ../IkiWiki/Render.pm:365
#, perl-format
msgid "rendering %s, which links to %s"
msgstr ""
-#: ../IkiWiki/Render.pm:377
+#: ../IkiWiki/Render.pm:382
#, perl-format
msgid "rendering %s, which depends on %s"
msgstr ""
-#: ../IkiWiki/Render.pm:415
+#: ../IkiWiki/Render.pm:420
#, perl-format
msgid "rendering %s, to update its backlinks"
msgstr ""
-#: ../IkiWiki/Render.pm:427
+#: ../IkiWiki/Render.pm:432
#, perl-format
msgid "removing %s, no longer rendered by %s"
msgstr ""
-#: ../IkiWiki/Render.pm:453
+#: ../IkiWiki/Render.pm:458
#, perl-format
msgid "ikiwiki: cannot render %s"
msgstr ""