D3980: contrib/phabricator: Convert description into local
yuja (Yuya Nishihara)
phabricator at mercurial-scm.org
Thu Jul 26 08:06:12 EDT 2018
yuja added a comment.
> That could replace `json.loads` at line 211. I guess it could be done by using a function that recursively convert strings.
Could be.
def _maybeunitolocal(u):
if isinstance(u, pycompat.unicode):
return encoding.unitolocal(u)
return u
pycompat.rapply(_maybeunitolocal, json.loads(...))
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D3980
To: ced, #hg-reviewers
Cc: quark, martinvonz, yuja, mercurial-devel
More information about the Mercurial-devel
mailing list