mercurial/util.py
changeset 6086 e85deb6dcf9d
parent 6062 3c3b126e5619
child 6090 152b6c5c1574
--- a/mercurial/util.py	Wed Feb 13 05:27:04 2008 +0300
+++ b/mercurial/util.py	Wed Feb 13 16:46:43 2008 +0100
@@ -1594,7 +1594,7 @@
         for format in formats:
             try:
                 when, offset = strdate(string, format, defaults)
-            except ValueError:
+            except (ValueError, OverflowError):
                 pass
             else:
                 break