Skip to content
Snippets Groups Projects
Commit fa6c9381 authored by Alexis S. L. Carvalho's avatar Alexis S. L. Carvalho
Browse files

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.
parent be5dc5e3
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment