From: joey Date: Sat, 18 Mar 2006 21:36:36 +0000 (+0000) Subject: oops, add unlock _before_ svn commit X-Git-Tag: 1.0~328 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2ab895129679328822b0e997631a8cf521de0303;p=ikiwiki.git oops, add unlock _before_ svn commit --- 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();