##// END OF EJS Templates
py3: use b'%d' to convert int to bytes instead of str()...
Pulkit Goyal -
r37599:5b836a4c default
parent child Browse files
Show More
@@ -372,7 +372,7 b' class convert_git(common.converter_sourc'
372
372
373 tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
373 tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
374 tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
374 tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
375 date = tm + " " + str(tz)
375 date = tm + " " + (b"%d" % tz)
376 saverev = self.ui.configbool('convert', 'git.saverev')
376 saverev = self.ui.configbool('convert', 'git.saverev')
377
377
378 c = common.commit(parents=parents, date=date, author=author,
378 c = common.commit(parents=parents, date=date, author=author,
General Comments 0
You need to be logged in to leave comments. Login now