Part of bzrlib.config View In Hierarchy
Known subclasses: bzrlib.config.BranchStack, bzrlib.config.GlobalStack, bzrlib.config.LocationStack, bzrlib.config.RemoteBranchStack, bzrlib.config.RemoteControlStack
This is intended to ease the transition from the Config-based design to the Stack-based design and should not be used nor relied upon by plugins.
One assumption made here is that the daughter classes will all use Stores derived from LockableIniFileStore).
It implements set() by re-loading the store before applying the modification and saving it.
The long term plan being to implement a single write by store to save all modifications, this class should not be used in the interim.
Method | set | Set a new value for the option. |
Inherited from Stack:
Method | __init__ | Creates a stack of sections with an optional store for changes. |
Method | get | Return the first option value found in the sections. |
Method | expand_options | Expand option references in the string in the configuration context. |
Method | remove | Remove an existing option. |
Method | __repr__ | Undocumented |
Method | _expand_options_in_string | Expand options in the string in the configuration context. |
Method | _expand_option | Undocumented |
Method | _get_mutable_section | Get the MutableSection for the Stack. |
Method | _get_overrides | Undocumented |