changeset 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 77cd8068dbf4
children 04ed65045bcc
files mercurial/changelog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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])