projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7adb471
)
remove locking
author
Joey Hess
<joey@gnu.kitenet.net>
Sun, 11 Oct 2009 23:59:32 +0000
(19:59 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Sun, 11 Oct 2009 23:59:32 +0000
(19:59 -0400)
Problem is that even rcs_add may cause a commit for certian RCSs and then
it would deadlock.
ikiwiki-calendar
patch
|
blob
|
history
diff --git
a/ikiwiki-calendar
b/ikiwiki-calendar
index ec572cb7ce3373244188602b01f80a57b63ec053..074f0d6fd601d0f0d3933f89b9a41c25eddad7f8 100755
(executable)
--- 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");