# HG changeset patch # User Yuya Nishihara # Date 1507812973 -32400 # Node ID dbe1f51188641abd84f453be95c323fcc83dec3d # Parent bfb6fd93b63796f722e6fbe95819c4de74f011eb help: use single quotes in ``template example`` It was hard to read because ``""`` was rendered as """". diff -r bfb6fd93b637 -r dbe1f5118864 mercurial/help/templates.txt --- a/mercurial/help/templates.txt Thu Oct 12 21:48:02 2017 +0900 +++ b/mercurial/help/templates.txt Thu Oct 12 21:56:13 2017 +0900 @@ -74,9 +74,9 @@ 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 =======