hgext/convert/__init__.py
changeset 4895 fa6c9381d053
parent 4884 72ac66e88c43
child 4896 ee04732fe61d
equal deleted inserted replaced
4894:be5dc5e3ab2d 4895:fa6c9381d053
   266     commit author to a destination commit author. It is handy for source SCMs
   266     commit author to a destination commit author. It is handy for source SCMs
   267     that use unix logins to identify authors (eg: CVS). One line per author
   267     that use unix logins to identify authors (eg: CVS). One line per author
   268     mapping and the line format is:
   268     mapping and the line format is:
   269     srcauthor=whatever string you want
   269     srcauthor=whatever string you want
   270     '''
   270     '''
       
   271 
       
   272     util._encoding = 'UTF-8'
   271 
   273 
   272     srcc = converter(ui, src)
   274     srcc = converter(ui, src)
   273     if not hasattr(srcc, "getcommit"):
   275     if not hasattr(srcc, "getcommit"):
   274         raise util.Abort("%s: can't read from this repo type" % src)
   276         raise util.Abort("%s: can't read from this repo type" % src)
   275 
   277