mercurial/util.py
changeset 12105 6f58430dfdd0
parent 12088 1f71dffabc53
child 12345 e0ee3e822a9a
equal deleted inserted replaced
12104:256d447a0fe3 12105:6f58430dfdd0
  1067             except (ValueError, OverflowError):
  1067             except (ValueError, OverflowError):
  1068                 pass
  1068                 pass
  1069             else:
  1069             else:
  1070                 break
  1070                 break
  1071         else:
  1071         else:
  1072             raise Abort(_('invalid date: %r ') % date)
  1072             raise Abort(_('invalid date: %r') % date)
  1073     # validate explicit (probably user-specified) date and
  1073     # validate explicit (probably user-specified) date and
  1074     # time zone offset. values must fit in signed 32 bits for
  1074     # time zone offset. values must fit in signed 32 bits for
  1075     # current 32-bit linux runtimes. timezones go from UTC-12
  1075     # current 32-bit linux runtimes. timezones go from UTC-12
  1076     # to UTC+14
  1076     # to UTC+14
  1077     if abs(when) > 0x7fffffff:
  1077     if abs(when) > 0x7fffffff: