Deal with repos with missing timezones
authormpm@selenic.com
Tue, 23 Aug 2005 16:19:14 -0700
changeset 1013 2e8b8da9a86e
parent 1012 d74bcc61be6f
child 1014 e37cd99fa909
Deal with repos with missing timezones
mercurial/hg.py
--- 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)