D6296: phabricator: set local:commits time metadata as an int, not a string
Kwan (Ian Moody)
phabricator at mercurial-scm.org
Mon Apr 22 14:24:12 EDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc0e30c9ee5ba: phabricator: set local:commits time metadata as an int, not a string (authored by Kwan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6296?vs=14884&id=14897
REVISION DETAIL
https://phab.mercurial-scm.org/D6296
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
@@ -397,7 +397,7 @@
ctx.hex(): {
b'author': stringutil.person(ctx.user()),
b'authorEmail': stringutil.email(ctx.user()),
- b'time': b'%d' % ctx.date()[0],
+ b'time': int(ctx.date()[0]),
},
}),
}
To: Kwan, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list