mercurial/util.py
changeset 36235 d879aab17786
parent 36130 7ec26f27ca83
parent 36234 48783333f45c
child 36266 1fa33bd848ee
--- a/mercurial/util.py	Thu Feb 15 21:14:57 2018 +0800
+++ b/mercurial/util.py	Fri Feb 16 17:24:31 2018 -0500
@@ -2212,7 +2212,7 @@
             try:
                 d["d"] = days
                 return parsedate(date, extendeddateformats, d)[0]
-            except Abort:
+            except error.ParseError:
                 pass
         d["d"] = "28"
         return parsedate(date, extendeddateformats, d)[0]