Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/changelog.py @ 1327:085e3fc189b6
Some repos represent a date as a float.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 23 Sep 2005 07:36:30 -0700 |
parents | b47f96a178a3 |
children | 0f25830f6bc3 |
comparison
equal
deleted
inserted
replaced
1324:77cd8068dbf4 | 1327:085e3fc189b6 |
---|---|
20 desc = text[last + 2:] | 20 desc = text[last + 2:] |
21 l = text[:last].splitlines() | 21 l = text[:last].splitlines() |
22 manifest = bin(l[0]) | 22 manifest = bin(l[0]) |
23 user = l[1] | 23 user = l[1] |
24 date = l[2].split(' ') | 24 date = l[2].split(' ') |
25 time = int(date.pop(0)) | 25 time = float(date.pop(0)) |
26 try: | 26 try: |
27 # various tools did silly things with the time zone field. | 27 # various tools did silly things with the time zone field. |
28 timezone = int(date[0]) | 28 timezone = int(date[0]) |
29 except: | 29 except: |
30 timezone = 0 | 30 timezone = 0 |