hgext/convert/convcmd.py
changeset 36362 93943eef696f
parent 36186 0f9e52f900c4
child 36587 d4c98b6724e1
equal deleted inserted replaced
36361:8d0b0b533e09 36362:93943eef696f
   565         finally:
   565         finally:
   566             self.source.after()
   566             self.source.after()
   567         self.map.close()
   567         self.map.close()
   568 
   568 
   569 def convert(ui, src, dest=None, revmapfile=None, **opts):
   569 def convert(ui, src, dest=None, revmapfile=None, **opts):
       
   570     opts = pycompat.byteskwargs(opts)
   570     global orig_encoding
   571     global orig_encoding
   571     orig_encoding = encoding.encoding
   572     orig_encoding = encoding.encoding
   572     encoding.encoding = 'UTF-8'
   573     encoding.encoding = 'UTF-8'
   573 
   574 
   574     # support --authors as an alias for --authormap
   575     # support --authors as an alias for --authormap