[issue209] convert-repo handles timezone incorrectly
Eric Jaffe
mercurial-bugs at selenic.com
Sun Apr 16 17:11:13 UTC 2006
New submission from Eric Jaffe <jaffe.eric at gmail.com>:
I compared the timezones in the hg linux mirror
<http://www.kernel.org/hg/linux-2.6/?cs=4fa8e54c02d6> to the original
<http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c19f7a9e1ac45b57375d51f033b02deca50f4d3f>
and noticed that they were different. The time is correct, but the timezone is
the inverse of what it should be (-0700 to +0700, for example).
The problem is in line 75 or 76 of contrib/convert-repo, but I'm not sure how to
patch it.
tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
tz = int(tzs) * (int(tzh) * 3600 + int(tzm))
----------
messages: 1033
nosy: ejaffe
priority: bug
status: unread
title: convert-repo handles timezone incorrectly
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue209>
____________________________________________________
More information about the Mercurial
mailing list