[PATCH 1 of 2] convert: properly set encoding for gnuarch converter

Brodie Rao brodie at bitheap.org
Wed Aug 18 09:53:57 CDT 2010


# HG changeset patch
# User Brodie Rao <brodie at bitheap.org>
# Date 1282143230 14400
# Branch stable
# Node ID 66b1cc9faafe73cc8690e523979d7c47d0d7fa6f
# Parent  03b5ad552b425ee9c21bfc1e56a62e5a3efdb74e
convert: properly set encoding for gnuarch converter

diff -r 03b5ad552b42 -r 66b1cc9faafe hgext/convert/gnuarch.py
--- a/hgext/convert/gnuarch.py	Tue Aug 17 17:40:53 2010 -0500
+++ b/hgext/convert/gnuarch.py	Wed Aug 18 10:53:50 2010 -0400
@@ -55,7 +55,7 @@ class gnuarch_source(converter_source, c
         self.parents = {}
         self.tags = {}
         self.catlogparser = Parser()
-        self.locale = locale.getpreferredencoding()
+        self.encoding = locale.getpreferredencoding()
         self.archives = []
 
     def before(self):


More information about the Mercurial-devel mailing list