Show More
@@ -33,7 +33,7 b' urlreq = util.urlreq' | |||
|
33 | 33 | |
|
34 | 34 | samplehgrcs = { |
|
35 | 35 | 'user': |
|
36 |
"""# example user config (see |
|
|
36 | """# example user config (see 'hg help config' for more info) | |
|
37 | 37 | [ui] |
|
38 | 38 | # name and email, e.g. |
|
39 | 39 | # username = Jane Doe <jdoe@example.com> |
@@ -41,18 +41,18 b' username =' | |||
|
41 | 41 | |
|
42 | 42 | [extensions] |
|
43 | 43 | # uncomment these lines to enable some popular extensions |
|
44 |
# (see |
|
|
44 | # (see 'hg help extensions' for more info) | |
|
45 | 45 | # |
|
46 | 46 | # pager = |
|
47 | 47 | # color =""", |
|
48 | 48 | |
|
49 | 49 | 'cloned': |
|
50 |
"""# example repository config (see |
|
|
50 | """# example repository config (see 'hg help config' for more info) | |
|
51 | 51 | [paths] |
|
52 | 52 | default = %s |
|
53 | 53 | |
|
54 | 54 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
55 |
# (see |
|
|
55 | # (see 'hg help config.paths' for more info) | |
|
56 | 56 | # |
|
57 | 57 | # default-push = ssh://jdoe@example.net/hg/jdoes-fork |
|
58 | 58 | # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
@@ -64,10 +64,10 b' default = %s' | |||
|
64 | 64 | """, |
|
65 | 65 | |
|
66 | 66 | 'local': |
|
67 |
"""# example repository config (see |
|
|
67 | """# example repository config (see 'hg help config' for more info) | |
|
68 | 68 | [paths] |
|
69 | 69 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
70 |
# (see |
|
|
70 | # (see 'hg help config.paths' for more info) | |
|
71 | 71 | # |
|
72 | 72 | # default = http://example.com/hg/example-repo |
|
73 | 73 | # default-push = ssh://jdoe@example.net/hg/jdoes-fork |
@@ -80,11 +80,11 b' default = %s' | |||
|
80 | 80 | """, |
|
81 | 81 | |
|
82 | 82 | 'global': |
|
83 |
"""# example system-wide hg config (see |
|
|
83 | """# example system-wide hg config (see 'hg help config' for more info) | |
|
84 | 84 | |
|
85 | 85 | [extensions] |
|
86 | 86 | # uncomment these lines to enable some popular extensions |
|
87 |
# (see |
|
|
87 | # (see 'hg help extensions' for more info) | |
|
88 | 88 | # |
|
89 | 89 | # blackbox = |
|
90 | 90 | # color = |
@@ -28,12 +28,12 b" Issue1199: Can't use '%' in hgrc (eg url" | |||
|
28 | 28 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
29 | 29 | $ cd foobar |
|
30 | 30 | $ cat .hg/hgrc |
|
31 |
# example repository config (see |
|
|
31 | # example repository config (see 'hg help config' for more info) | |
|
32 | 32 | [paths] |
|
33 | 33 | default = $TESTTMP/foo%bar (glob) |
|
34 | 34 | |
|
35 | 35 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
36 |
# (see |
|
|
36 | # (see 'hg help config.paths' for more info) | |
|
37 | 37 | # |
|
38 | 38 | # default-push = ssh://jdoe@example.net/hg/jdoes-fork |
|
39 | 39 | # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
@@ -26,12 +26,12 b' Cloning with a password in the URL shoul' | |||
|
26 | 26 | updating to branch default |
|
27 | 27 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
28 | 28 | $ cat test3/.hg/hgrc |
|
29 |
# example repository config (see |
|
|
29 | # example repository config (see 'hg help config' for more info) | |
|
30 | 30 | [paths] |
|
31 | 31 | default = http://foo@localhost:$HGPORT/ |
|
32 | 32 | |
|
33 | 33 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
34 |
# (see |
|
|
34 | # (see 'hg help config.paths' for more info) | |
|
35 | 35 | # |
|
36 | 36 | # default-push = ssh://jdoe@example.net/hg/jdoes-fork |
|
37 | 37 | # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
@@ -36,12 +36,12 b'' | |||
|
36 | 36 | |
|
37 | 37 | $ cd b |
|
38 | 38 | $ cat .hg/hgrc |
|
39 |
# example repository config (see |
|
|
39 | # example repository config (see 'hg help config' for more info) | |
|
40 | 40 | [paths] |
|
41 | 41 | default = $TESTTMP/a#stable (glob) |
|
42 | 42 | |
|
43 | 43 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
44 |
# (see |
|
|
44 | # (see 'hg help config.paths' for more info) | |
|
45 | 45 | # |
|
46 | 46 | # default-push = ssh://jdoe@example.net/hg/jdoes-fork |
|
47 | 47 | # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
@@ -88,12 +88,12 b'' | |||
|
88 | 88 | $ echo "green = ../a#default" >> .hg/hgrc |
|
89 | 89 | |
|
90 | 90 | $ cat .hg/hgrc |
|
91 |
# example repository config (see |
|
|
91 | # example repository config (see 'hg help config' for more info) | |
|
92 | 92 | [paths] |
|
93 | 93 | default = $TESTTMP/a#stable (glob) |
|
94 | 94 | |
|
95 | 95 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
96 |
# (see |
|
|
96 | # (see 'hg help config.paths' for more info) | |
|
97 | 97 | # |
|
98 | 98 | # default-push = ssh://jdoe@example.net/hg/jdoes-fork |
|
99 | 99 | # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
@@ -127,12 +127,12 b' Clone main' | |||
|
127 | 127 | |
|
128 | 128 | Largefiles is NOT enabled in the clone if the source repo doesn't require it |
|
129 | 129 | $ cat cloned/.hg/hgrc |
|
130 |
# example repository config (see |
|
|
130 | # example repository config (see 'hg help config' for more info) | |
|
131 | 131 | [paths] |
|
132 | 132 | default = $TESTTMP/main (glob) |
|
133 | 133 | |
|
134 | 134 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
135 |
# (see |
|
|
135 | # (see 'hg help config.paths' for more info) | |
|
136 | 136 | # |
|
137 | 137 | # default-push = ssh://jdoe@example.net/hg/jdoes-fork |
|
138 | 138 | # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
@@ -688,12 +688,12 b' The local repo enables largefiles if a l' | |||
|
688 | 688 | [255] |
|
689 | 689 | $ hg --config extensions.largefiles= clone -qU . ../lfclone |
|
690 | 690 | $ cat ../lfclone/.hg/hgrc |
|
691 |
# example repository config (see |
|
|
691 | # example repository config (see 'hg help config' for more info) | |
|
692 | 692 | [paths] |
|
693 | 693 | default = $TESTTMP/cloned (glob) |
|
694 | 694 | |
|
695 | 695 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
696 |
# (see |
|
|
696 | # (see 'hg help config.paths' for more info) | |
|
697 | 697 | # |
|
698 | 698 | # default-push = ssh://jdoe@example.net/hg/jdoes-fork |
|
699 | 699 | # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
@@ -41,12 +41,12 b' Test basic functionality of url#rev synt' | |||
|
41 | 41 | summary: change a |
|
42 | 42 | |
|
43 | 43 | $ cat clone/.hg/hgrc |
|
44 |
# example repository config (see |
|
|
44 | # example repository config (see 'hg help config' for more info) | |
|
45 | 45 | [paths] |
|
46 | 46 | default = $TESTTMP/repo#foo (glob) |
|
47 | 47 | |
|
48 | 48 | # path aliases to other clones of this repo in URLs or filesystem paths |
|
49 |
# (see |
|
|
49 | # (see 'hg help config.paths' for more info) | |
|
50 | 50 | # |
|
51 | 51 | # default-push = ssh://jdoe@example.net/hg/jdoes-fork |
|
52 | 52 | # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
General Comments 0
You need to be logged in to leave comments.
Login now