aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-20 16:36:51 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-03-20 16:36:51 -0400
commit10a9c00151d43fd26ba523806928b833d6d2aa62 (patch)
tree9eecefa02861c640207d678dda5605db093f62ca
parentee973d0b460044769328b30067d1d7ca24a5a228 (diff)
downloadikiwiki-10a9c00151d43fd26ba523806928b833d6d2aa62.tar
ikiwiki-10a9c00151d43fd26ba523806928b833d6d2aa62.tar.gz
git, mercurial: Fix --getctime to return file creation time, not last commit time.
-rw-r--r--debian/changelog2
-rw-r--r--doc/forum/ikiwiki__39__s_notion_of_time.mdwn11
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 06707a83c..a525df998 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ ikiwiki (3.09) UNRELEASED; urgency=low
* inline: Add title_natural sort order, using Sort::Naturally
(chrysn)
* inline: Fix urls to feed when feedfile is used on an index page.
+ * git, mercurial: Fix --getctime to return file creation time,
+ not last commit time.
-- Joey Hess <joeyh@debian.org> Thu, 19 Mar 2009 15:32:49 -0400
diff --git a/doc/forum/ikiwiki__39__s_notion_of_time.mdwn b/doc/forum/ikiwiki__39__s_notion_of_time.mdwn
index f52989026..ee564fcc9 100644
--- a/doc/forum/ikiwiki__39__s_notion_of_time.mdwn
+++ b/doc/forum/ikiwiki__39__s_notion_of_time.mdwn
@@ -22,3 +22,14 @@ What is the rationale for ikiwiki's current behavior with respect to these
time stamps?
--[[tschwinge]]
+
+> Presumably it's the authors of the git and mercurial backends
+> not understanding the documentation for `rcs_getctime`,
+> which states:
+>
+>>This is used to get the page creation time for a file from the RCS, by
+>>looking it up in the history.
+>
+> I've fixed both broken implementations to correctly look
+> up the first, not the last, commit. Other VCS do not seem
+> to have the problem. --[[Joey]]