diff mercurial/hg.py @ 1013:2e8b8da9a86e

Deal with repos with missing timezones
author mpm@selenic.com
date Tue, 23 Aug 2005 16:19:14 -0700
parents 88c15682d9b0
children a9cca981c423
line wrap: on
line diff
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -272,6 +272,8 @@ class changelog(revlog):
         manifest = bin(l[0])
         user = l[1]
         date = l[2]
+        if " " not in date:
+            date += " 0" # some tools used -d without a timezone
         files = l[3:]
         return (manifest, user, date, files, desc)