mercurial/util.py
changeset 6087 12856a1742dc
parent 5917 a8dbfa1802cd
child 6090 152b6c5c1574
--- a/mercurial/util.py	Fri Feb 08 18:07:55 2008 -0200
+++ b/mercurial/util.py	Wed Feb 13 16:46:43 2008 +0100
@@ -1541,7 +1541,7 @@
         for format in formats:
             try:
                 when, offset = strdate(string, format, defaults)
-            except ValueError:
+            except (ValueError, OverflowError):
                 pass
             else:
                 break