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