Mercurial > hg > mercurial-crew-with-dirclash
diff hgext/convert/__init__.py @ 4895:fa6c9381d053
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.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 17 Jul 2007 09:08:29 -0300 |
parents | 72ac66e88c43 |
children | ee04732fe61d |
line wrap: on
line diff
--- 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)