[PATCH] hgweb: fix encoding issue in commit log
OHASHI Hideya
ohachige at gmail.com
Wed Aug 29 10:02:44 CDT 2007
# HG changeset patch
# User OHASHI Hideya <ohachige at gmail.com>
# Date 1188398770 -32400
# Node ID 9f99d5a65b1f544897db9f744a900b336473cc63
# Parent 15a108ad7adb0be221234177e544bdf196848309
hgweb: fix encoding issue in commit log
diff -r 15a108ad7adb -r 9f99d5a65b1f mercurial/hgweb/hgweb_mod.py
--- a/mercurial/hgweb/hgweb_mod.py Tue Aug 28 23:02:41 2007 -0300
+++ b/mercurial/hgweb/hgweb_mod.py Wed Aug 29 23:46:10 2007 +0900
@@ -104,6 +104,7 @@ class hgweb(object):
self.maxfiles = int(self.config("web", "maxfiles", 10))
self.allowpull = self.configbool("web", "allowpull", True)
self.encoding = self.config("web", "encoding", util._encoding)
+ util._encoding = self.encoding
def archivelist(self, nodeid):
allowed = self.configlist("web", "allow_archive")
More information about the Mercurial-devel
mailing list