changeset 29977:73b1c328a7da

util: use single quotes in use warning
author timeless <timeless@mozdev.org>
date Tue, 20 Sep 2016 23:48:30 +0000
parents 42d031560294
children 3d2ea1403c62
files mercurial/util.py tests/test-parse-date.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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