mercurial/util.py
changeset 3257 c9cd63a6fce9
parent 3256 e5c9a084ffe3
child 3425 ec6f400cff4d
equal deleted inserted replaced
3256:e5c9a084ffe3 3257:c9cd63a6fce9
   935             except ValueError:
   935             except ValueError:
   936                 pass
   936                 pass
   937             else:
   937             else:
   938                 break
   938                 break
   939         else:
   939         else:
   940             raise ValueError(_('invalid date: %r') % string)
   940             raise ValueError(_('invalid date: %r '
       
   941                                'see hg(1) manual page for details')
       
   942                              % string)
   941     # validate explicit (probably user-specified) date and
   943     # validate explicit (probably user-specified) date and
   942     # time zone offset. values must fit in signed 32 bits for
   944     # time zone offset. values must fit in signed 32 bits for
   943     # current 32-bit linux runtimes. timezones go from UTC-12
   945     # current 32-bit linux runtimes. timezones go from UTC-12
   944     # to UTC+14
   946     # to UTC+14
   945     if abs(when) > 0x7fffffff:
   947     if abs(when) > 0x7fffffff: