changeset 5789:2baa786c7843

convert: svn_sink: specify encoding of message file explicitly on commit.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Thu, 03 Jan 2008 06:25:30 +0900
parents 4107e823dc2c
children f85c0034a062
files hgext/convert/subversion.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Wed Jan 02 16:24:13 2008 +0100
+++ b/hgext/convert/subversion.py	Thu Jan 03 06:25:30 2008 +0900
@@ -900,6 +900,7 @@
             output = self.run0('commit',
                                username=util.shortuser(commit.author),
                                file=messagefile,
+                               encoding='utf-8',
                                *list(entries))
             try:
                 rev = self.commit_re.search(output).group(1)