diff -r 1f21a6835604 -r ced0d686ecb3 hgext/convert/git.py --- a/hgext/convert/git.py Thu Dec 22 23:28:11 2016 -0700 +++ b/hgext/convert/git.py Thu Dec 22 23:28:35 2016 -0700 @@ -322,11 +322,13 @@ tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:] tz = -int(tzs) * (int(tzh) * 3600 + int(tzm)) date = tm + " " + str(tz) + saverev = self.ui.configbool('convert', 'git.saverev', True) c = common.commit(parents=parents, date=date, author=author, desc=message, rev=version, - extra=extra) + extra=extra, + saverev=saverev) return c def numcommits(self):