##// END OF EJS Templates
Make contrib/buildrpm work on Fedora 9....
Make contrib/buildrpm work on Fedora 9. mercurial.spec had bitrotted. These changes makes it possible to build an rpm that is usable. Only minimal changes has been made, and there is plenty of room for improvement.

File last commit:

r4729:9881abfc default
r7277:3e000e2b 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