From: Joey Hess Date: Sun, 11 Oct 2009 23:59:32 +0000 (-0400) Subject: remove locking X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/99eec4f03de310b544ae727b3b28f14271ef3e30 remove locking Problem is that even rcs_add may cause a commit for certian RCSs and then it would deadlock. --- 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");