util: use single quotes in use warning
authortimeless <timeless@mozdev.org>
Tue, 20 Sep 2016 23:48:30 +0000
changeset 29977 73b1c328a7da
parent 29976 42d031560294
child 29978 3d2ea1403c62
util: use single quotes in use warning
mercurial/util.py
tests/test-parse-date.t
--- 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