Part of bzrlib.reconfigure View In Hierarchy
| Method | __init__ | Undocumented |
| Static Method | to_branch | Return a Reconfiguration to convert this bzrdir into a branch |
| Static Method | to_tree | Return a Reconfiguration to convert this bzrdir into a tree |
| Static Method | to_checkout | Return a Reconfiguration to convert this bzrdir into a checkout |
| Class Method | to_lightweight_checkout | Make a Reconfiguration to convert bzrdir into a lightweight checkout |
| Class Method | to_use_shared | Convert a standalone branch into a repository branch |
| Class Method | to_standalone | Convert a repository branch into a standalone branch |
| Class Method | set_repository_trees | Adjust a repository's working tree presence default |
| Method | changes_planned | Return True if changes are planned, False otherwise |
| Method | apply | Apply the reconfiguration |
| Method | _plan_changes | Determine which changes are needed to assume the configuration |
| Method | _set_use_shared | Undocumented |
| Method | _check | Raise if reconfiguration would destroy local changes |
| Method | _select_bind_location | Select a location to bind or create a reference to. |
| Parameters | bzrdir | The bzrdir to reconfigure |
| Raises | errors.AlreadyBranch | if bzrdir is already a branch |
| Parameters | bzrdir | The bzrdir to reconfigure |
| Raises | errors.AlreadyTree | if bzrdir is already a tree |
| Parameters | bzrdir | The bzrdir to reconfigure |
| bound_location | The location the checkout should be bound to. | |
| Raises | errors.AlreadyCheckout | if bzrdir is already a checkout |
| Parameters | bzrdir | The bzrdir to reconfigure |
| bound_location | The location the checkout should be bound to. | |
| Raises | errors.AlreadyLightweightCheckout | if bzrdir is already a lightweight checkout |
Preference is: 1. user specified location 2. branch reference location (it's a kind of bind location) 3. current bind location 4. previous bind location (it was a good choice once) 5. push location (it's writeable, so committable) 6. parent location (it's pullable, so update-from-able)
| Parameters | force | If true, the reconfiguration is applied even if it will destroy local changes. |
| Raises | errors.UncommittedChanges | if the local tree is to be destroyed but contains uncommitted changes. |
| errors.NoBindLocation | if no bind location was specified and none could be autodetected. |