# HG changeset patch # User Greg Ward # Date 1312248269 14400 # Node ID c82b6a84884feca3d0389678c788272dfdd9781d # Parent c370e587f483dac1df023862fd2a155b2e59dde6 Convert timezones correctly. diff -r c370e587f483 -r c82b6a84884f hgfastimport/hgimport.py --- a/hgfastimport/hgimport.py Mon Aug 01 18:35:31 2011 -0400 +++ b/hgfastimport/hgimport.py Mon Aug 01 21:24:29 2011 -0400 @@ -333,7 +333,7 @@ self.ui.debug("processed commit %s\n" % cmd) def convert_date(self, c): - res = (int(c[2]), int(c[3])) + res = (int(c[2]), -int(c[3])) #print c, res #print type((0, 0)), type(res), len(res), type(res) is type((0, 0)) #if type(res) is type((0, 0)) and len(res) == 2: