changeset 39654 | 4057e38bba76 |
parent 39652 | d2c81e83de2a |
child 39655 | 87539f615b87 |
--- a/hgext/phabricator.py Sat Sep 15 01:13:37 2018 -0400 +++ b/hgext/phabricator.py Sat Sep 15 01:16:31 2018 -0400 @@ -62,6 +62,7 @@ scmutil, smartset, tags, + templateutil, url as urlmod, util, ) @@ -1006,7 +1007,7 @@ ctx = context.resource(mapping, b'ctx') m = _differentialrevisiondescre.search(ctx.description()) if m: - return { + return templateutil.hybriddict({ b'url': m.group(b'url'), b'id': b"D{}".format(m.group(b'id')), - } + })