comparison mercurial/ui.py @ 29978:3d2ea1403c62

samplehgrcs: use single quotes in use warning
author timeless <timeless@mozdev.org>
date Tue, 20 Sep 2016 23:49:00 +0000
parents 96bd27eb23f0
children e9fca89c6d58
comparison
equal deleted inserted replaced
29977:73b1c328a7da 29978:3d2ea1403c62
31 31
32 urlreq = util.urlreq 32 urlreq = util.urlreq
33 33
34 samplehgrcs = { 34 samplehgrcs = {
35 'user': 35 'user':
36 """# example user config (see "hg help config" for more info) 36 """# example user config (see 'hg help config' for more info)
37 [ui] 37 [ui]
38 # name and email, e.g. 38 # name and email, e.g.
39 # username = Jane Doe <jdoe@example.com> 39 # username = Jane Doe <jdoe@example.com>
40 username = 40 username =
41 41
42 [extensions] 42 [extensions]
43 # uncomment these lines to enable some popular extensions 43 # uncomment these lines to enable some popular extensions
44 # (see "hg help extensions" for more info) 44 # (see 'hg help extensions' for more info)
45 # 45 #
46 # pager = 46 # pager =
47 # color =""", 47 # color =""",
48 48
49 'cloned': 49 'cloned':
50 """# example repository config (see "hg help config" for more info) 50 """# example repository config (see 'hg help config' for more info)
51 [paths] 51 [paths]
52 default = %s 52 default = %s
53 53
54 # path aliases to other clones of this repo in URLs or filesystem paths 54 # path aliases to other clones of this repo in URLs or filesystem paths
55 # (see "hg help config.paths" for more info) 55 # (see 'hg help config.paths' for more info)
56 # 56 #
57 # default-push = ssh://jdoe@example.net/hg/jdoes-fork 57 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
58 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork 58 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
59 # my-clone = /home/jdoe/jdoes-clone 59 # my-clone = /home/jdoe/jdoes-clone
60 60
62 # name and email (local to this repository, optional), e.g. 62 # name and email (local to this repository, optional), e.g.
63 # username = Jane Doe <jdoe@example.com> 63 # username = Jane Doe <jdoe@example.com>
64 """, 64 """,
65 65
66 'local': 66 'local':
67 """# example repository config (see "hg help config" for more info) 67 """# example repository config (see 'hg help config' for more info)
68 [paths] 68 [paths]
69 # path aliases to other clones of this repo in URLs or filesystem paths 69 # path aliases to other clones of this repo in URLs or filesystem paths
70 # (see "hg help config.paths" for more info) 70 # (see 'hg help config.paths' for more info)
71 # 71 #
72 # default = http://example.com/hg/example-repo 72 # default = http://example.com/hg/example-repo
73 # default-push = ssh://jdoe@example.net/hg/jdoes-fork 73 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
74 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork 74 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
75 # my-clone = /home/jdoe/jdoes-clone 75 # my-clone = /home/jdoe/jdoes-clone
78 # name and email (local to this repository, optional), e.g. 78 # name and email (local to this repository, optional), e.g.
79 # username = Jane Doe <jdoe@example.com> 79 # username = Jane Doe <jdoe@example.com>
80 """, 80 """,
81 81
82 'global': 82 'global':
83 """# example system-wide hg config (see "hg help config" for more info) 83 """# example system-wide hg config (see 'hg help config' for more info)
84 84
85 [extensions] 85 [extensions]
86 # uncomment these lines to enable some popular extensions 86 # uncomment these lines to enable some popular extensions
87 # (see "hg help extensions" for more info) 87 # (see 'hg help extensions' for more info)
88 # 88 #
89 # blackbox = 89 # blackbox =
90 # color = 90 # color =
91 # pager =""", 91 # pager =""",
92 } 92 }