--- a/mercurial/util.py Mon Apr 04 08:26:08 2011 -0500
+++ b/mercurial/util.py Mon Apr 04 09:39:22 2011 -0500
@@ -1222,12 +1222,12 @@
if not date:
raise Abort(_("dates cannot consist entirely of whitespace"))
elif date[0] == "<":
- if not date[1:]:
+ if not date[1:]:
raise Abort(_("invalid day spec. use '<{datetime}' "))
when = upper(date[1:])
return lambda x: x <= when
elif date[0] == ">":
- if not date[1:]:
+ if not date[1:]:
raise Abort(_("invalid day spec. use '>{datetime}' "))
when = lower(date[1:])
return lambda x: x >= when