Part of bzrlib.branch View In Hierarchy
*_switch hooks.
There are 4 fields that hooks may wish to access:
| Instance Variables | control_dir | ControlDir of the checkout to change |
| to_branch | branch that the checkout is to reference | |
| force | skip the check for local commits in a heavy checkout | |
| revision_id | revision ID to switch to (or None) |
| Method | __init__ | Create a group of SwitchHook parameters. |
| Method | __eq__ | Undocumented |
| Method | __repr__ | Undocumented |
| Parameters | control_dir | ControlDir of the checkout to change |
| to_branch | branch that the checkout is to reference | |
| force | skip the check for local commits in a heavy checkout | |
| revision_id | revision ID to switch to (or None) |