From: joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Date: Wed, 29 Aug 2007 02:01:23 +0000 (+0000)
Subject: * mercurial: Pass --style defaults to hg log to ensure right format is used.
X-Git-Tag: 2.7~89
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/7813bcf08a9307491efd5b5d006412a5c8f5debe

* mercurial: Pass --style defaults to hg log to ensure right format is used.
---

diff --git a/IkiWiki/Rcs/mercurial.pm b/IkiWiki/Rcs/mercurial.pm
index 3a75b40c5..3a9bb65e0 100644
--- a/IkiWiki/Rcs/mercurial.pm
+++ b/IkiWiki/Rcs/mercurial.pm
@@ -107,7 +107,8 @@ sub rcs_recentchanges ($) { #{{{
 	eval q{use CGI 'escapeHTML'};
 	error($@) if $@;
 
-	my @cmdline = ("hg", "-R", $config{srcdir}, "log", "-v", "-l", $num);
+	my @cmdline = ("hg", "-R", $config{srcdir}, "log", "-v", "-l", $num,
+		"--style", "defaults");
 	open (my $out, "@cmdline |");
 
 	eval q{use Date::Parse};
diff --git a/debian/changelog b/debian/changelog
index 99893bc10..dce33e543 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,9 @@ ikiwiki (2.7) UNRELEASED; urgency=low
     by linkifying the data before parsing it as a table.
   * Turn on allow_loose_quotes in the table plugin's Text::CSV object,
     so that links from wikilinks don't confuse the parser.
+  * mercurial: Pass --style defaults to hg log to ensure right format is used.
 
- -- Joey Hess <joeyh@debian.org>  Tue, 28 Aug 2007 19:03:34 -0400
+ -- Joey Hess <joeyh@debian.org>  Tue, 28 Aug 2007 22:00:29 -0400
 
 ikiwiki (2.6.1) unstable; urgency=low