--- a/mercurial/util.py Tue Sep 20 23:48:19 2016 +0000
+++ b/mercurial/util.py Tue Sep 20 23:48:30 2016 +0000
@@ -1953,7 +1953,7 @@
except ValueError:
raise Abort(_("invalid day spec: %s") % date[1:])
if days < 0:
- raise Abort(_('%s must be nonnegative (see "hg help dates")')
+ raise Abort(_("%s must be nonnegative (see 'hg help dates')")
% date[1:])
when = makedate()[0] - days * 3600 * 24
return lambda x: x >= when
--- a/tests/test-parse-date.t Tue Sep 20 23:48:19 2016 +0000
+++ b/tests/test-parse-date.t Tue Sep 20 23:48:30 2016 +0000
@@ -102,7 +102,7 @@
Negative range
$ hg log -d "--2"
- abort: -2 must be nonnegative (see "hg help dates")
+ abort: -2 must be nonnegative (see 'hg help dates')
[255]
Whitespace only