oops, add unlock _before_ svn commit
parent
22f3f422af
commit
2ab8951296
4
ikiwiki
4
ikiwiki
|
@ -1131,11 +1131,11 @@ sub cgi_editpage ($$) { #{{{
|
||||||
if ($newfile) {
|
if ($newfile) {
|
||||||
rcs_add($file);
|
rcs_add($file);
|
||||||
}
|
}
|
||||||
|
# prevent deadlock with post-commit hook
|
||||||
|
unlockwiki();
|
||||||
# presumably the commit will trigger an update
|
# presumably the commit will trigger an update
|
||||||
# of the wiki
|
# of the wiki
|
||||||
rcs_commit($message);
|
rcs_commit($message);
|
||||||
# prevent deadlock with post-commit hook
|
|
||||||
unlockwiki();
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
loadindex();
|
loadindex();
|
||||||
|
|
Loading…
Reference in New Issue