hgext/phabricator.py
changeset 42256 9421d7e12888
parent 42200 c4d96f4761d3
child 42257 a4f7dceb07bf
--- a/hgext/phabricator.py	Thu Apr 18 00:34:45 2019 -0700
+++ b/hgext/phabricator.py	Sat Apr 20 16:11:23 2019 +0100
@@ -399,6 +399,8 @@
                 b'author': stringutil.person(ctx.user()),
                 b'authorEmail': stringutil.email(ctx.user()),
                 b'time': int(ctx.date()[0]),
+                b'commit': ctx.hex(),
+                b'parents': [ctx.p1().hex()],
                 b'branch': ctx.branch(),
             },
         }),