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