# HG changeset patch # User Cédric Krier # Date 1532507671 -7200 # Node ID 0dce1297dd010bc838c4752d09498a345ac74f6a # Parent c1de67691d5bba4512285ed2037e5365bb675918 phabricator: convert description into local The description from conduit is a unicode. Differential Revision: https://phab.mercurial-scm.org/D3980 diff -r c1de67691d5b -r 0dce1297dd01 contrib/phabricator.py --- a/contrib/phabricator.py Thu Jul 19 23:15:21 2018 -0700 +++ b/contrib/phabricator.py Wed Jul 25 10:34:31 2018 +0200 @@ -570,6 +570,7 @@ drevid = drevids[i] drev = [d for d in drevs if int(d[r'id']) == drevid][0] newdesc = getdescfromdrev(drev) + newdesc = encoding.unitolocal(newdesc) # Make sure commit message contain "Differential Revision" if old.description() != newdesc: parents = [