This revision was automatically updated to reflect the committed changes. Closed by commit rHGd478c8cd89d1: py3: convert bytes to str using encoding.strfromlocal (authored by pulkit, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2460?vs=6131&id=6164 REVISION DETAIL https://phab.mercurial-scm.org/D2460 AFFECTED FILES hgext/patchbomb.py CHANGE DETAILS diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py --- a/hgext/patchbomb.py +++ b/hgext/patchbomb.py @@ -748,7 +748,7 @@ if not parent.endswith('>'): parent += '>' - sender_addr = eutil.parseaddr(sender)[1] + sender_addr = eutil.parseaddr(encoding.strfromlocal(sender))[1] sender = mail.addressencode(ui, sender, _charsets, opts.get('test')) sendmail = None firstpatch = None To: pulkit, #hg-reviewers, yuja Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel