mercurial/util.py
changeset 14064 e4bfb9c337f3
parent 14008 da65edcac72a
child 14076 924c82157d46
equal deleted inserted replaced
14063:87ebf72878ed 14064:e4bfb9c337f3
   931         when, offset = map(int, date.split(' '))
   931         when, offset = map(int, date.split(' '))
   932     except ValueError:
   932     except ValueError:
   933         # fill out defaults
   933         # fill out defaults
   934         now = makedate()
   934         now = makedate()
   935         defaults = {}
   935         defaults = {}
   936         nowmap = {}
       
   937         for part in ("d", "mb", "yY", "HI", "M", "S"):
   936         for part in ("d", "mb", "yY", "HI", "M", "S"):
   938             # this piece is for rounding the specific end of unknowns
   937             # this piece is for rounding the specific end of unknowns
   939             b = bias.get(part)
   938             b = bias.get(part)
   940             if b is None:
   939             if b is None:
   941                 if part[0] in "HMS":
   940                 if part[0] in "HMS":