D3980: contrib/phabricator: Convert description into local

ced (Cédric Krier) phabricator at mercurial-scm.org
Tue Aug 7 10:16:20 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0dce1297dd01: phabricator: convert description into local (authored by ced, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3980?vs=9661&id=10056

REVISION DETAIL
  https://phab.mercurial-scm.org/D3980

AFFECTED FILES
  contrib/phabricator.py

CHANGE DETAILS

diff --git a/contrib/phabricator.py b/contrib/phabricator.py
--- a/contrib/phabricator.py
+++ b/contrib/phabricator.py
@@ -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 = [



To: ced, #hg-reviewers
Cc: quark, martinvonz, yuja, mercurial-devel


More information about the Mercurial-devel mailing list