# HG changeset patch # User Bryan O'Sullivan # Date 1127486190 25200 # Node ID 085e3fc189b6800e34ca82b13c8a9955a9b385e7 # Parent 77cd8068dbf40a5a01f418007e7f00915fd143c9 Some repos represent a date as a float. diff -r 77cd8068dbf4 -r 085e3fc189b6 mercurial/changelog.py --- a/mercurial/changelog.py Thu Sep 22 23:38:04 2005 -0700 +++ b/mercurial/changelog.py Fri Sep 23 07:36:30 2005 -0700 @@ -22,7 +22,7 @@ manifest = bin(l[0]) user = l[1] date = l[2].split(' ') - time = int(date.pop(0)) + time = float(date.pop(0)) try: # various tools did silly things with the time zone field. timezone = int(date[0])