-
Committer:
Vincent Ladeuil
-
Date:
2010-04-21 17:47:18 UTC
-
mto:
(5176.1.1 integration)
-
mto:
This revision was merged to the branch mainline in
revision
5177.
-
Revision ID:
v.ladeuil+lp@free.fr-20100421174718-kqghmho28q1tbvp7
Display a warning if an option value is not boolean.
* bzrlib/tests/test_config.py:
(TestGetUserOptionAs.test_get_user_option_as_bool): Check the
warning.
* bzrlib/config.py:
(Config.get_user_option_as_bool): Emit a warning if the option
exists but its value can't be interpreted as a boolean.