# HG changeset patch # User Alexis S. L. Carvalho # Date 1184674109 10800 # Node ID fa6c9381d053e01d6631b219a28e95414cad3291 # Parent be5dc5e3ab2dbb547ea558f65b99d830ee9a72ef convert: manually set encoding to UTF-8 Right now the backends assume we're working in UTF-8 and there's no good way to ignore the encoding when adding revisions. diff -r be5dc5e3ab2d -r fa6c9381d053 hgext/convert/__init__.py --- a/hgext/convert/__init__.py Tue Jul 17 09:08:29 2007 -0300 +++ b/hgext/convert/__init__.py Tue Jul 17 09:08:29 2007 -0300 @@ -269,6 +269,8 @@ srcauthor=whatever string you want ''' + util._encoding = 'UTF-8' + srcc = converter(ui, src) if not hasattr(srcc, "getcommit"): raise util.Abort("%s: can't read from this repo type" % src)