]> sipb.mit.edu Git - ikiwiki.git/commitdiff
response
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 5 Mar 2008 22:13:24 +0000 (17:13 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 5 Mar 2008 22:13:24 +0000 (17:13 -0500)
doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn

index 1d5ca2d0cf19b04a430b59457191245cf71eff7c..93d0aaf9f8c1b74e063e701b17a0f404cd6174d9 100644 (file)
@@ -7,3 +7,8 @@ It seems that, when adding a blog post, it is not immediately commited to the me
 When I add a blog post, I see it on the wiki but it doesn't appear on `History` or `RecentChanges`. If I run `hg status` on the wiki source dir, I see the new file has been marked as `A` (ie, a new file that has not been commited).
 
 If I then edit the blog post, **then** the file gets commited and I can see the edit on `History` and `RecentChanges`. The creation of the file remains unrecorded.  --[[buo]]
 When I add a blog post, I see it on the wiki but it doesn't appear on `History` or `RecentChanges`. If I run `hg status` on the wiki source dir, I see the new file has been marked as `A` (ie, a new file that has not been commited).
 
 If I then edit the blog post, **then** the file gets commited and I can see the edit on `History` and `RecentChanges`. The creation of the file remains unrecorded.  --[[buo]]
+
+> Ikiwiki calls `rcs_add()` if the page is new, followed by `rcs_commit()`.
+> For mercurial, these run respectively `hg add` and `hg commit`. If the
+> add or commit fails, it will print a warning to stderr, you might check
+> apache's error.log to see if there's anything there. --[[Joey]]