diff mercurial/revset.py @ 38810:4fe8d1f077b8

help: add quotes to a few commands we point to I didn't know that 'hg help "revsets.x or y"' was valid syntax, so the quoting is extra useful here to make it clear that that is an actual command. Differential Revision: https://phab.mercurial-scm.org/D4059
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 02 Aug 2018 13:35:13 -0700
parents e4b270a32ba8
children 31c0ee6eb0ac
line wrap: on
line diff
--- a/mercurial/revset.py	Wed Aug 01 23:25:35 2018 -0400
+++ b/mercurial/revset.py	Thu Aug 02 13:35:13 2018 -0700
@@ -242,7 +242,7 @@
 
 def listset(repo, subset, *xs, **opts):
     raise error.ParseError(_("can't use a list in this context"),
-                           hint=_('see hg help "revsets.x or y"'))
+                           hint=_('see \'hg help "revsets.x or y"\''))
 
 def keyvaluepair(repo, subset, k, v, order):
     raise error.ParseError(_("can't use a key-value pair in this context"))