From 99eec4f03de310b544ae727b3b28f14271ef3e30 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 11 Oct 2009 19:59:32 -0400 Subject: [PATCH] remove locking Problem is that even rcs_add may cause a commit for certian RCSs and then it would deadlock. --- ikiwiki-calendar | 3 --- 1 file changed, 3 deletions(-) diff --git a/ikiwiki-calendar b/ikiwiki-calendar index ec572cb7c..074f0d6fd 100755 --- a/ikiwiki-calendar +++ b/ikiwiki-calendar @@ -43,8 +43,6 @@ sub writearchive ($$;$) { } } -IkiWiki::lockwiki(); - foreach my $y ($year-1, $year, $year+1) { writearchive("calendaryear.tmpl", $y); foreach my $m (qw{01 02 03 04 05 06 07 08 09 10 11 12}) { @@ -54,6 +52,5 @@ foreach my $y ($year-1, $year, $year+1) { IkiWiki::rcs_commit_staged(gettext("calendar update"), undef, undef) if $config{rcs}; -IkiWiki::unlockwiki(); system("ikiwiki", "-setup", $setup, "-refresh"); -- 2.26.2