Mercurial > hg
changeset 19959:9ef92384415c stable
doc: use double quotation mark to quote arguments in examples for Windows users
On Windows, only double quotation mark can quote command line
arguments.
So, this patch uses double quotation mark to quote command line
arguments in all examples of online help document.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 25 Oct 2013 01:14:18 +0900 |
parents | 25b02c6f73a6 |
children | 95304251c376 |
files | hgext/churn.py mercurial/commands.py mercurial/help/phases.txt |
diffstat | 3 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/churn.py Fri Oct 25 01:14:18 2013 +0900 +++ b/hgext/churn.py Fri Oct 25 01:14:18 2013 +0900 @@ -103,16 +103,16 @@ Examples:: # display count of changed lines for every committer - hg churn -t '{author|email}' + hg churn -t "{author|email}" # display daily activity graph - hg churn -f '%H' -s -c + hg churn -f "%H" -s -c # display activity of developers by month - hg churn -f '%Y-%m' -s -c + hg churn -f "%Y-%m" -s -c # display count of lines changed in every year - hg churn -f '%Y' -s + hg churn -f "%Y" -s It is possible to map alternate email addresses to a main address by providing a file using the following format::
--- a/mercurial/commands.py Fri Oct 25 01:14:18 2013 +0900 +++ b/mercurial/commands.py Fri Oct 25 01:14:18 2013 +0900 @@ -556,7 +556,7 @@ - skip all revisions that do not touch directories ``foo`` or ``bar``:: - hg bisect --skip '!( file("path:foo") & file("path:bar") )' + hg bisect --skip "!( file('path:foo') & file('path:bar') )" - forget the current bisection:: @@ -568,7 +568,7 @@ hg bisect --reset hg bisect --bad 34 hg bisect --good 12 - hg bisect --command 'make && make tests' + hg bisect --command "make && make tests" - see all changesets whose states are already known in the current bisection::
--- a/mercurial/help/phases.txt Fri Oct 25 01:14:18 2013 +0900 +++ b/mercurial/help/phases.txt Fri Oct 25 01:14:18 2013 +0900 @@ -79,6 +79,6 @@ - resynchronize draft changesets relative to a remote repository:: - hg phase -fd 'outgoing(URL)' + hg phase -fd "outgoing(URL)" See :hg:`help phase` for more information on manually manipulating phases.