hgext/git/gitlog.py
changeset 45413 8ddbb75bad09
parent 44951 83e41b73d115
child 45414 66a10bd1b8db
equal deleted inserted replaced
45411:a42999f611ff 45413:8ddbb75bad09
   384         timestamp, tz = date
   384         timestamp, tz = date
   385         sig = pygit2.Signature(
   385         sig = pygit2.Signature(
   386             encoding.unifromlocal(stringutil.person(user)),
   386             encoding.unifromlocal(stringutil.person(user)),
   387             encoding.unifromlocal(stringutil.email(user)),
   387             encoding.unifromlocal(stringutil.email(user)),
   388             timestamp,
   388             timestamp,
   389             -(tz // 60),
   389             -int(tz // 60),
   390         )
   390         )
   391         oid = self.gitrepo.create_commit(
   391         oid = self.gitrepo.create_commit(
   392             None, sig, sig, desc, gitutil.togitnode(manifest), parents
   392             None, sig, sig, desc, gitutil.togitnode(manifest), parents
   393         )
   393         )
   394         # Set up an internal reference to force the commit into the
   394         # Set up an internal reference to force the commit into the