##// END OF EJS Templates
repo.status: also compare flags for files in the lookup list....
repo.status: also compare flags for files in the lookup list. We might be able to do something smarter about this in dirstate.status for files in normallookup state, but that would require some extra care to keep backwards compatibility.

File last commit:

r4729:9881abfc default
r6158:23ffe826 default
Show More
test-ui-config.out
48 lines | 1.1 KiB | text/plain | TextLexer
/ tests / test-ui-config.out
Thomas Arendsen Hein
Allow using default values with ui.configlist, too, and add a test for this.
r2502 [('bool1', 'true'), ('bool2', 'false'), ('string', 'string value')]
[('list1', 'foo'), ('list2', 'foo bar baz'), ('list3', 'alice, bob'), ('list4', 'foo bar baz alice, bob')]
Thomas Arendsen Hein
Include section name and parameter name (if available) in config errors....
r3073 Error in configuration section [interpolation]:
'%' must be followed by '%' or '(', found: '%bad2'
Thomas Arendsen Hein
Allow using default values with ui.configlist, too, and add a test for this.
r2502 ---
'string value'
'true'
'false'
None
---
Thomas Arendsen Hein
Catch illegal boolean values in hgrc nicely....
r4729 Error in configuration section [values] parameter 'string':
Thomas Arendsen Hein
Allow using default values with ui.configlist, too, and add a test for this.
r2502 Not a boolean: string value
True
False
False
False
True
---
['foo']
['foo', 'bar', 'baz']
['alice', 'bob']
['foo', 'bar', 'baz', 'alice', 'bob']
['foo', 'bar', 'baz', 'alice', 'bob']
[]
[]
['foo']
['foo']
['foo', 'bar']
['foo', 'bar']
['foo bar']
['foo', 'bar']
---
Thomas Arendsen Hein
Include section name and parameter name (if available) in config errors....
r3073 'hallo'
'hallo world'
Error in configuration section [interpolation] parameter 'value3':
Bad value substitution:
section: [interpolation]
option : value3
key : novalue
rawval :
Error in configuration section [interpolation] parameter 'value4':
bad interpolation variable reference '%(bad)1'
Error in configuration section [interpolation] parameter 'value5':
'%' must be followed by '%' or '(', found: '%bad2'
---
Alexis S. L. Carvalho
allow values that aren't strings in util.configparser
r4069 No option 'Bar' in section: 'foo'
f == function