# HG changeset patch # User Alexis S. L. Carvalho # Date 2007-07-17 12:08:29 # 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 --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py --- a/hgext/convert/__init__.py +++ b/hgext/convert/__init__.py @@ -269,6 +269,8 @@ def _convert(ui, src, dest=None, mapfile 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)