Mercurial > hg
diff mercurial/help/config.txt @ 38724:02b5b5c1bba8
windows: replace single quote with double quote when translating to cmd.exe
Since cmd.exe doesn't understand single quotes, single quotes to prevent $var
expansion is basically unusable without this. Single quote isn't allowed in a
path name, so it seems unlikely to come up otherwise.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 15 Jul 2018 23:58:39 -0400 |
parents | 2009d84f245a |
children | c382c19ce9bd |
line wrap: on
line diff
--- a/mercurial/help/config.txt Sun Jul 15 23:51:43 2018 -0400 +++ b/mercurial/help/config.txt Sun Jul 15 23:58:39 2018 -0400 @@ -893,7 +893,8 @@ Some basic Unix syntax can be enabled for portability, including ``$VAR`` and ``${VAR}`` style variables. To use a literal ``$``, it must be - escaped with a back slash or inside of a strong quote. + escaped with a back slash or inside of a strong quote. Strong quotes + will be replaced by double quotes after processing. This feature is enabled by adding a prefix of ``tonative.`` to the hook name on a new line, and setting it to ``True``. For example::