Some repos represent a date as a float.
authorBryan O'Sullivan <bos@serpentine.com>
Fri, 23 Sep 2005 07:36:30 -0700
changeset 1327 085e3fc189b6
parent 1324 77cd8068dbf4
child 1328 04ed65045bcc
Some repos represent a date as a float.
mercurial/changelog.py
--- a/mercurial/changelog.py
+++ b/mercurial/changelog.py
@@ -22,7 +22,7 @@ class changelog(revlog):
         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])