summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-21 19:40:11 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-21 19:40:11 +0000
commit0dc8b912269e8df8422e5b6baab4871d1bb510c0 (patch)
tree3a285049edc3faef5419152d0b247e85751607e9
parent472dabbb6002219d324ae8480df57d02b6f0ca94 (diff)
* Patch from Emanuele Aina to fix modification time code in mercurual
backend.
-rw-r--r--IkiWiki/Rcs/mercurial.pm2
-rw-r--r--debian/changelog4
2 files changed, 4 insertions, 2 deletions
diff --git a/IkiWiki/Rcs/mercurial.pm b/IkiWiki/Rcs/mercurial.pm
index 67002ac57..b7b15632a 100644
--- a/IkiWiki/Rcs/mercurial.pm
+++ b/IkiWiki/Rcs/mercurial.pm
@@ -138,7 +138,7 @@ sub rcs_recentchanges ($) { #{{{
rev => $info->{"changeset"},
user => $user,
committype => "mercurial",
- when => str2time($info->{"date"}),
+ when => time - str2time($info->{"date"}),
message => [@message],
pages => [@pages],
};
diff --git a/debian/changelog b/debian/changelog
index 558e156c2..80edfc972 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,8 +16,10 @@ ikiwiki (1.36) UNRELEASED; urgency=low
* Applied a rather old patch from Recai to fix the "pruning is too strict"
issue. Now you can have wiki source directories inside dotdirs and the
like, if you want.
+ * Patch from Emanuele Aina to fix modification time code in mercurual
+ backend.
- -- Joey Hess <joeyh@debian.org> Thu, 21 Dec 2006 13:54:24 -0500
+ -- Joey Hess <joeyh@debian.org> Thu, 21 Dec 2006 14:39:26 -0500
ikiwiki (1.35) unstable; urgency=low