convert: properly set encoding for gnuarch converter stable
authorBrodie Rao <brodie@bitheap.org>
Wed, 18 Aug 2010 10:53:50 -0400
branchstable
changeset 11986 d2796a3cb816
parent 11965 77f1f206e135
child 11987 3145951e50fe
convert: properly set encoding for gnuarch converter
hgext/convert/gnuarch.py
--- a/hgext/convert/gnuarch.py	Wed Aug 18 02:43:45 2010 +0200
+++ b/hgext/convert/gnuarch.py	Wed Aug 18 10:53:50 2010 -0400
@@ -55,7 +55,7 @@
         self.parents = {}
         self.tags = {}
         self.catlogparser = Parser()
-        self.locale = locale.getpreferredencoding()
+        self.encoding = locale.getpreferredencoding()
         self.archives = []
 
     def before(self):