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