git, mercurial: Fix --getctime to return file creation time, not last commit time.

master
Joey Hess 2009-03-20 16:36:51 -04:00
parent ee973d0b46
commit 10a9c00151
2 changed files with 13 additions and 0 deletions

2
debian/changelog vendored
View File

@ -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

View File

@ -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]]