# HG changeset patch
# User Yuya Nishihara <y...@tcha.org>
# Date 1507812973 -32400
#      Thu Oct 12 21:56:13 2017 +0900
# Node ID b770d50a3c6256008a6ed6614b21f27e1a09df1b
# Parent  a6cf3a279553d5b089c90585789033988756a24d
help: use single quotes in ``template example``

It was hard to read because ``""`` was rendered as """".

diff --git a/mercurial/help/templates.txt b/mercurial/help/templates.txt
--- a/mercurial/help/templates.txt
+++ b/mercurial/help/templates.txt
@@ -74,9 +74,9 @@ or a raw string prefix, ``r'...'``.
 
 The dot operator can be used as a shorthand for accessing a sub item:
 
-- ``expr.member`` is roughly equivalent to ``expr % "{member}"`` if ``expr``
+- ``expr.member`` is roughly equivalent to ``expr % '{member}'`` if ``expr``
   returns a non-list/dict. The returned value is not stringified.
-- ``dict.key`` is identical to ``get(dict, "key")``.
+- ``dict.key`` is identical to ``get(dict, 'key')``.
 
 Aliases
 =======
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to