}
} #}}}
+sub unlockwiki () { #{{{
+ close WIKILOCK;
+} #}}}
+
sub loadindex () { #{{{
open (IN, "$config{srcdir}/.ikiwiki/index") || return;
while (<IN>) {
# presumably the commit will trigger an update
# of the wiki
rcs_commit($message);
+ # prevent deadlock with post-commit hook
+ unlockwiki();
}
else {
loadindex();