summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-18 21:36:36 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-18 21:36:36 +0000
commit2ab895129679328822b0e997631a8cf521de0303 (patch)
tree8817472ad4a9688aad40fbac338ed44ed8971433
parent22f3f422af7e25460fbfe92de54e3fa45bbc7ff7 (diff)
oops, add unlock _before_ svn commit
-rwxr-xr-xikiwiki4
1 files changed, 2 insertions, 2 deletions
diff --git a/ikiwiki b/ikiwiki
index e218979d1..c2310cb37 100755
--- a/ikiwiki
+++ b/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();