From: Joey Hess <joey@kitenet.net>
Date: Wed, 5 Mar 2008 16:34:49 +0000 (-0500)
Subject: web commit by buo: blog posts not added to mercurial repo
X-Git-Tag: 2.41~189
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/5508ceaaa00426668dc2aba0100f95d789494017

web commit by buo: blog posts not added to mercurial repo
---

diff --git a/doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn b/doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn
new file mode 100644
index 000000000..18a203386
--- /dev/null
+++ b/doc/bugs/blog_posts_not_added_to_mercurial_repo.mdwn
@@ -0,0 +1,9 @@
+I am using mercurial as RCS backend and ikiwiki 2.40.
+
+It seems that, when adding a blog post, it is not immediately commited to the mercurial repo. I have a page with this directive:
+
+    [[!inline pages="journal/blog2008/* and !*/Discussion" show="0" feeds="no" actions="yes" rootpage="journal/blog2008"]]
+
+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]]