equal
deleted
inserted
replaced
327 # a conversion tool was sticking non-integer offsets into repos |
327 # a conversion tool was sticking non-integer offsets into repos |
328 try: |
328 try: |
329 tz = int(tz) |
329 tz = int(tz) |
330 except ValueError: |
330 except ValueError: |
331 tz = 0 |
331 tz = 0 |
332 date = time.asctime(time.localtime(float(t))) + " %+05d" % (int(tz)/-36) |
332 date = time.asctime(time.gmtime(float(t) - tz)) + " %+05d" % (int(tz)/-36) |
333 |
333 |
334 parents = [(log.rev(p), ui.verbose and hex(p) or short(p)) |
334 parents = [(log.rev(p), ui.verbose and hex(p) or short(p)) |
335 for p in log.parents(changenode) |
335 for p in log.parents(changenode) |
336 if ui.debugflag or p != nullid] |
336 if ui.debugflag or p != nullid] |
337 if not ui.debugflag and len(parents) == 1 and parents[0][0] == rev-1: |
337 if not ui.debugflag and len(parents) == 1 and parents[0][0] == rev-1: |