changeset 45413:8ddbb75bad09

git: convert tz offset to int (issue6359) Differential Revision: https://phab.mercurial-scm.org/D8991
author Augie Fackler <raf@durin42.com>
date Mon, 07 Sep 2020 15:31:34 -0400
parents a42999f611ff
children 66a10bd1b8db
files hgext/git/gitlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/git/gitlog.py	Mon Sep 07 15:20:31 2020 -0400
+++ b/hgext/git/gitlog.py	Mon Sep 07 15:31:34 2020 -0400
@@ -386,7 +386,7 @@
             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