oops, add unlock _before_ svn commit

master
joey 2006-03-18 21:36:36 +00:00
parent 22f3f422af
commit 2ab8951296
1 changed files with 2 additions and 2 deletions

View File

@ -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();