Mercurial > hg
diff hgext/convert/convcmd.py @ 36329:93943eef696f
py3: use pycompat.byteskwargs in hgext/convert/
Differential Revision: https://phab.mercurial-scm.org/D2355
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 19 Feb 2018 23:44:41 +0530 |
parents | 0f9e52f900c4 |
children | d4c98b6724e1 |
line wrap: on
line diff
--- a/hgext/convert/convcmd.py Mon Feb 19 21:45:49 2018 +0530 +++ b/hgext/convert/convcmd.py Mon Feb 19 23:44:41 2018 +0530 @@ -567,6 +567,7 @@ self.map.close() def convert(ui, src, dest=None, revmapfile=None, **opts): + opts = pycompat.byteskwargs(opts) global orig_encoding orig_encoding = encoding.encoding encoding.encoding = 'UTF-8'