configitems: adds a developer warning when accessing undeclared configuration
Now that all known options are declared, we setup a warning to make sure it will stay this way. We disable the warning in two tests checking other behavior with random options.
Showing
- mercurial/configitems.py 3 additions, 0 deletionsmercurial/configitems.py
- mercurial/ui.py 4 additions, 0 deletionsmercurial/ui.py
- tests/test-devel-warnings.t 4 additions, 0 deletionstests/test-devel-warnings.t
- tests/test-trusted.py 14 additions, 0 deletionstests/test-trusted.py
- tests/test-ui-config.py 9 additions, 0 deletionstests/test-ui-config.py
Loading
Please register or sign in to comment