# HG changeset patch # User Augie Fackler # Date 1600698205 14400 # Node ID e7587430ca239f3e7a148359063548b55415c919 # Parent 5eee6f4f3d0de4f6f16646e90fdaf1f3c157acb4 git: also convert timezone to int (issue6359) Credit to moshez for testing this in the wild. Differential Revision: https://phab.mercurial-scm.org/D9062 diff -r 5eee6f4f3d0d -r e7587430ca23 hgext/git/gitlog.py --- a/hgext/git/gitlog.py Fri Sep 18 16:26:37 2020 -0700 +++ b/hgext/git/gitlog.py Mon Sep 21 10:23:25 2020 -0400 @@ -389,7 +389,7 @@ sig = pygit2.Signature( encoding.unifromlocal(stringutil.person(user)), encoding.unifromlocal(stringutil.email(user)), - timestamp, + int(timestamp), -int(tz // 60), ) oid = self.gitrepo.create_commit(