D6298: phabricator: include commit (node) and parent in the local:commits metadata
Kwan (Ian Moody)
phabricator at mercurial-scm.org
Mon May 6 16:22:29 UTC 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9421d7e12888: phabricator: include commit (node) and parent in the local:commits metadata (authored by Kwan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6298?vs=14886&id=15027
REVISION DETAIL
https://phab.mercurial-scm.org/D6298
AFFECTED FILES
hgext/phabricator.py
CHANGE DETAILS
diff --git a/hgext/phabricator.py b/hgext/phabricator.py
--- a/hgext/phabricator.py
+++ b/hgext/phabricator.py
@@ -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(),
},
}),
To: Kwan, #hg-reviewers
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list