changeset 11986:d2796a3cb816 stable

convert: properly set encoding for gnuarch converter
author Brodie Rao <brodie@bitheap.org>
date Wed, 18 Aug 2010 10:53:50 -0400
parents 77f1f206e135
children 3145951e50fe
files hgext/convert/gnuarch.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):