# HG changeset patch # User Augie Fackler # Date 2020-09-07 19:31:34 # Node ID 8ddbb75bad09816780b2781d61fc68bac3665415 # Parent a42999f611ff0abff99e778148524ab2194af6a1 git: convert tz offset to int (issue6359) Differential Revision: https://phab.mercurial-scm.org/D8991 diff --git a/hgext/git/gitlog.py b/hgext/git/gitlog.py --- a/hgext/git/gitlog.py +++ b/hgext/git/gitlog.py @@ -386,7 +386,7 @@ class changelog(baselog): encoding.unifromlocal(stringutil.person(user)), encoding.unifromlocal(stringutil.email(user)), timestamp, - -(tz // 60), + -int(tz // 60), ) oid = self.gitrepo.create_commit( None, sig, sig, desc, gitutil.togitnode(manifest), parents