changeset 1013:2e8b8da9a86e

Deal with repos with missing timezones
author mpm@selenic.com
date Tue, 23 Aug 2005 16:19:14 -0700
parents d74bcc61be6f
children e37cd99fa909
files mercurial/hg.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Tue Aug 23 15:15:14 2005 -0700
+++ b/mercurial/hg.py	Tue Aug 23 16:19:14 2005 -0700
@@ -272,6 +272,8 @@
         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)