Mercurial > hg
comparison mercurial/configitems.py @ 32990:1d5d7e2b7ab5
configitems: register 'patch.fuzz' as first example for 'configint'
This exercise the default value handling in 'configint'.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 17 Jun 2017 13:17:10 +0200 |
parents | 2529e2ae9f4c |
children | 03608e8d09e9 |
comparison
equal
deleted
inserted
replaced
32989:149b68224b08 | 32990:1d5d7e2b7ab5 |
---|---|
34 raise error.ProgrammingError(msg % (item.section, item.name)) | 34 raise error.ProgrammingError(msg % (item.section, item.name)) |
35 section[item.name] = item | 35 section[item.name] = item |
36 | 36 |
37 # Registering actual config items | 37 # Registering actual config items |
38 | 38 |
39 coreconfigitem('patch', 'fuzz', | |
40 default=2, | |
41 ) | |
39 coreconfigitem('ui', 'quiet', | 42 coreconfigitem('ui', 'quiet', |
40 default=False, | 43 default=False, |
41 ) | 44 ) |