convert: svn_sink: specify encoding of message file explicitly on commit.
authorShun-ichi GOTO <shunichi.goto@gmail.com>
Thu, 03 Jan 2008 06:25:30 +0900
changeset 5789 2baa786c7843
parent 5788 4107e823dc2c
child 5790 f85c0034a062
convert: svn_sink: specify encoding of message file explicitly on commit.
hgext/convert/subversion.py
--- 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)