aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-28 01:32:34 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-28 01:32:34 +0000
commitc7caa95170eab7ff7735061a92d42046c1ec1b74 (patch)
treec27ecc5102f518301938ef6bb063b9a84130cdb9
parentd15a6abe676d333b2be051f52b82da2993f5066d (diff)
downloadikiwiki-c7caa95170eab7ff7735061a92d42046c1ec1b74.tar
ikiwiki-c7caa95170eab7ff7735061a92d42046c1ec1b74.tar.gz
response
-rw-r--r--doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn b/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn
index ae0f5fe5a..e9c275838 100644
--- a/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn
+++ b/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn
@@ -142,6 +142,9 @@ I also had problem with no webpages getting generated via the CGI unless I ran i
I can't find the discussion here about in the ikiwiki website though. I think it was removed and now I can't find it in the history.
My problem was caused by not having a revision system defined, so it defaulted to subversion (but I didn't have that installed).
+> Note that that confusing default to svn has been changed.. And you're
+> right about how the setup file is used below, BTW. --[[Joey]]
+
As for your .setup file you can put it anywhere. I don't think the CGI knows where it is at because its settings are set in the "wrapper".
In my case, my setup file is in a different home and owned by a different user than the CGI or my generated website. By the way, I also don't keep my .ikiwiki private directory in my source directory by setting wikistatedir (which doesn't seem to be documented).
@@ -189,4 +192,15 @@ In my case, my setup file is in a different home and owned by a different user t
> enlight me here ;)
>
> BTW, I also noticed `wikistatedir` variable in the ikiwiki code
-> and I couldn't find any information about it in ikiwiki docs :) --Pawel \ No newline at end of file
+> and I couldn't find any information about it in ikiwiki docs :) --Pawel
+
+>> wikistatedir is a non-configurable internal value.
+>>
+>> What happens during an edit with the code you quoted is that the "rcs
+>> stuff" results in a commit of the page to svn. This results in the
+>> ikiwiki svn post-commit hook running. The post-commit hook updates the
+>> wiki, and calls saveindex. That's why it's not called in the RCS path in
+>> the code above.
+>>
+>> It sounds like your post-commit hook is still not set up, or is failing
+>> for some reason (permissions perhaps?) --[[Joey]]