summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-11 19:59:32 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-11 19:59:32 -0400
commit99eec4f03de310b544ae727b3b28f14271ef3e30 (patch)
treec6b43dfc31e57f4de6ddb66fda2c41d922eca640
parent7adb471ff4ba0eddd18a858165d65c5dcb94090f (diff)
remove locking
Problem is that even rcs_add may cause a commit for certian RCSs and then it would deadlock.
-rwxr-xr-xikiwiki-calendar3
1 files changed, 0 insertions, 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");