Patchwork D3980: contrib/phabricator: Convert description into local

login
register
mail settings
Submitter phabricator
Date Aug. 7, 2018, 2:16 p.m.
Message ID <731217b30b59be5ddfec950dbff413cd@localhost.localdomain>
Download mbox | patch
Permalink /patch/33401/
State Not Applicable
Headers show

Comments

phabricator - Aug. 7, 2018, 2:16 p.m.
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




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

Patch

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 = [