Show More
@@ -1882,10 +1882,11 b' def config(ui, repo, *values, **opts):' | |||||
1882 | fm.startitem() |
|
1882 | fm.startitem() | |
1883 | fm.condwrite(ui.debugflag, 'source', '%s: ', source) |
|
1883 | fm.condwrite(ui.debugflag, 'source', '%s: ', source) | |
1884 | if uniquesel: |
|
1884 | if uniquesel: | |
1885 |
fm.data(name=entryname |
|
1885 | fm.data(name=entryname) | |
1886 | fm.write('value', '%s\n', value) |
|
1886 | fm.write('value', '%s\n', value) | |
1887 | else: |
|
1887 | else: | |
1888 | fm.write('name value', '%s=%s\n', entryname, value) |
|
1888 | fm.write('name value', '%s=%s\n', entryname, value) | |
|
1889 | fm.data(defaultvalue=defaultvalue) | |||
1889 | matched = True |
|
1890 | matched = True | |
1890 | fm.end() |
|
1891 | fm.end() | |
1891 | if matched: |
|
1892 | if matched: |
@@ -57,11 +57,13 b' Test case sensitive configuration' | |||||
57 | $ hg showconfig Section -Tjson |
|
57 | $ hg showconfig Section -Tjson | |
58 | [ |
|
58 | [ | |
59 | { |
|
59 | { | |
|
60 | "defaultvalue": null, | |||
60 | "name": "Section.KeY", |
|
61 | "name": "Section.KeY", | |
61 | "source": "*.hgrc:*", (glob) |
|
62 | "source": "*.hgrc:*", (glob) | |
62 | "value": "Case Sensitive" |
|
63 | "value": "Case Sensitive" | |
63 | }, |
|
64 | }, | |
64 | { |
|
65 | { | |
|
66 | "defaultvalue": null, | |||
65 | "name": "Section.key", |
|
67 | "name": "Section.key", | |
66 | "source": "*.hgrc:*", (glob) |
|
68 | "source": "*.hgrc:*", (glob) | |
67 | "value": "lower case" |
|
69 | "value": "lower case" | |
@@ -77,8 +79,8 b' Test case sensitive configuration' | |||||
77 | } |
|
79 | } | |
78 | ] |
|
80 | ] | |
79 | $ hg showconfig -Tjson | tail -7 |
|
81 | $ hg showconfig -Tjson | tail -7 | |
80 | }, |
|
|||
81 | { |
|
82 | { | |
|
83 | "defaultvalue": null, | |||
82 | "name": "*", (glob) |
|
84 | "name": "*", (glob) | |
83 | "source": "*", (glob) |
|
85 | "source": "*", (glob) | |
84 | "value": "*" (glob) |
|
86 | "value": "*" (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now