From 4ff60ef1c50ab182f7ce011de1ff7ca67e99254b Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 28 Jan 2007 00:26:55 +0000 Subject: * Always call rcs_update after a commit during a web edit, to work around the problem described in bugs/svn_fails_to_update. Thanks to Ethan for the analysis and patch. --- IkiWiki/CGI.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'IkiWiki') diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 96b9dab61..0c6670546 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -507,6 +507,12 @@ sub cgi_editpage ($$) { #{{{ print $form->render(submit => \@buttons); return; } + else { + # Make sure that the repo is up-to-date; + # locking prevents the post-commit hook + # from updating it. + rcs_update(); + } } else { require IkiWiki::Render; -- cgit v1.2.3