# HG changeset patch # User timeless # Date 2016-09-20 23:49:00 # Node ID 3d2ea1403c62839aed918e7429e7341451c86ee8 # Parent 73b1c328a7da774e215a654bd134e3db384c558c samplehgrcs: use single quotes in use warning diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -33,7 +33,7 @@ urlreq = util.urlreq samplehgrcs = { 'user': -"""# example user config (see "hg help config" for more info) +"""# example user config (see 'hg help config' for more info) [ui] # name and email, e.g. # username = Jane Doe @@ -41,18 +41,18 @@ username = [extensions] # uncomment these lines to enable some popular extensions -# (see "hg help extensions" for more info) +# (see 'hg help extensions' for more info) # # pager = # color =""", 'cloned': -"""# example repository config (see "hg help config" for more info) +"""# example repository config (see 'hg help config' for more info) [paths] default = %s # path aliases to other clones of this repo in URLs or filesystem paths -# (see "hg help config.paths" for more info) +# (see 'hg help config.paths' for more info) # # default-push = ssh://jdoe@example.net/hg/jdoes-fork # my-fork = ssh://jdoe@example.net/hg/jdoes-fork @@ -64,10 +64,10 @@ default = %s """, 'local': -"""# example repository config (see "hg help config" for more info) +"""# example repository config (see 'hg help config' for more info) [paths] # path aliases to other clones of this repo in URLs or filesystem paths -# (see "hg help config.paths" for more info) +# (see 'hg help config.paths' for more info) # # default = http://example.com/hg/example-repo # default-push = ssh://jdoe@example.net/hg/jdoes-fork @@ -80,11 +80,11 @@ default = %s """, 'global': -"""# example system-wide hg config (see "hg help config" for more info) +"""# example system-wide hg config (see 'hg help config' for more info) [extensions] # uncomment these lines to enable some popular extensions -# (see "hg help extensions" for more info) +# (see 'hg help extensions' for more info) # # blackbox = # color = diff --git a/tests/test-hgrc.t b/tests/test-hgrc.t --- a/tests/test-hgrc.t +++ b/tests/test-hgrc.t @@ -28,12 +28,12 @@ Issue1199: Can't use '%' in hgrc (eg url 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd foobar $ cat .hg/hgrc - # example repository config (see "hg help config" for more info) + # example repository config (see 'hg help config' for more info) [paths] default = $TESTTMP/foo%bar (glob) # path aliases to other clones of this repo in URLs or filesystem paths - # (see "hg help config.paths" for more info) + # (see 'hg help config.paths' for more info) # # default-push = ssh://jdoe@example.net/hg/jdoes-fork # my-fork = ssh://jdoe@example.net/hg/jdoes-fork diff --git a/tests/test-pull-http.t b/tests/test-pull-http.t --- a/tests/test-pull-http.t +++ b/tests/test-pull-http.t @@ -26,12 +26,12 @@ Cloning with a password in the URL shoul updating to branch default 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cat test3/.hg/hgrc - # example repository config (see "hg help config" for more info) + # example repository config (see 'hg help config' for more info) [paths] default = http://foo@localhost:$HGPORT/ # path aliases to other clones of this repo in URLs or filesystem paths - # (see "hg help config.paths" for more info) + # (see 'hg help config.paths' for more info) # # default-push = ssh://jdoe@example.net/hg/jdoes-fork # my-fork = ssh://jdoe@example.net/hg/jdoes-fork diff --git a/tests/test-revset-outgoing.t b/tests/test-revset-outgoing.t --- a/tests/test-revset-outgoing.t +++ b/tests/test-revset-outgoing.t @@ -36,12 +36,12 @@ $ cd b $ cat .hg/hgrc - # example repository config (see "hg help config" for more info) + # example repository config (see 'hg help config' for more info) [paths] default = $TESTTMP/a#stable (glob) # path aliases to other clones of this repo in URLs or filesystem paths - # (see "hg help config.paths" for more info) + # (see 'hg help config.paths' for more info) # # default-push = ssh://jdoe@example.net/hg/jdoes-fork # my-fork = ssh://jdoe@example.net/hg/jdoes-fork @@ -88,12 +88,12 @@ $ echo "green = ../a#default" >> .hg/hgrc $ cat .hg/hgrc - # example repository config (see "hg help config" for more info) + # example repository config (see 'hg help config' for more info) [paths] default = $TESTTMP/a#stable (glob) # path aliases to other clones of this repo in URLs or filesystem paths - # (see "hg help config.paths" for more info) + # (see 'hg help config.paths' for more info) # # default-push = ssh://jdoe@example.net/hg/jdoes-fork # my-fork = ssh://jdoe@example.net/hg/jdoes-fork diff --git a/tests/test-subrepo-deep-nested-change.t b/tests/test-subrepo-deep-nested-change.t --- a/tests/test-subrepo-deep-nested-change.t +++ b/tests/test-subrepo-deep-nested-change.t @@ -127,12 +127,12 @@ Clone main Largefiles is NOT enabled in the clone if the source repo doesn't require it $ cat cloned/.hg/hgrc - # example repository config (see "hg help config" for more info) + # example repository config (see 'hg help config' for more info) [paths] default = $TESTTMP/main (glob) # path aliases to other clones of this repo in URLs or filesystem paths - # (see "hg help config.paths" for more info) + # (see 'hg help config.paths' for more info) # # default-push = ssh://jdoe@example.net/hg/jdoes-fork # my-fork = ssh://jdoe@example.net/hg/jdoes-fork @@ -688,12 +688,12 @@ The local repo enables largefiles if a l [255] $ hg --config extensions.largefiles= clone -qU . ../lfclone $ cat ../lfclone/.hg/hgrc - # example repository config (see "hg help config" for more info) + # example repository config (see 'hg help config' for more info) [paths] default = $TESTTMP/cloned (glob) # path aliases to other clones of this repo in URLs or filesystem paths - # (see "hg help config.paths" for more info) + # (see 'hg help config.paths' for more info) # # default-push = ssh://jdoe@example.net/hg/jdoes-fork # my-fork = ssh://jdoe@example.net/hg/jdoes-fork diff --git a/tests/test-url-rev.t b/tests/test-url-rev.t --- a/tests/test-url-rev.t +++ b/tests/test-url-rev.t @@ -41,12 +41,12 @@ Test basic functionality of url#rev synt summary: change a $ cat clone/.hg/hgrc - # example repository config (see "hg help config" for more info) + # example repository config (see 'hg help config' for more info) [paths] default = $TESTTMP/repo#foo (glob) # path aliases to other clones of this repo in URLs or filesystem paths - # (see "hg help config.paths" for more info) + # (see 'hg help config.paths' for more info) # # default-push = ssh://jdoe@example.net/hg/jdoes-fork # my-fork = ssh://jdoe@example.net/hg/jdoes-fork