config option default value cannot be set by calling python code
Bug #832064 reported by
Vincent Ladeuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
In some cases (email is one such example), one needs to call python code (_auto_user_id for email) to establish a default value.
The current implementation only allows for constants.
Related branches
lp:~vila/bzr/832064-default-value-callable
- Jelmer Vernooij (community): Approve
-
Diff: 91 lines (+29/-3)3 files modifiedbzrlib/config.py (+13/-3)
bzrlib/tests/test_config.py (+13/-0)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.5b5 |
status: | In Progress → Fix Released |
To post a comment you must log in.