Mercurial > hg-stable
changeset 27247:be7ef03d7fb6
commit: adjust the quoting in the examples to be Windows friendly
We should probably avoid strong quotes around command line args in the examples,
since cmd.exe doesn't recognize them, and it will surprise a user who cargo
cults them. I don't see a way to make a rule for this, since strong quoting is
OK inside command line args, like within revsets.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 05 Dec 2015 22:19:48 -0500 |
parents | b288fb2724bf |
children | 0d5fe81320a9 |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Dec 04 15:12:11 2015 -0800 +++ b/mercurial/commands.py Sat Dec 05 22:19:48 2015 -0500 @@ -1592,11 +1592,11 @@ - commit all files ending in .py: - hg commit --include 'set:**.py' + hg commit --include "set:**.py" - commit all non-binary files: - hg commit --exclude 'set:binary()' + hg commit --exclude "set:binary()" - amend the current commit and set the date to now: