b.b.SwitchHookParams(object) : class documentation

Part of bzrlib.branch View In Hierarchy

Object holding parameters passed to *_switch hooks.

There are 4 fields that hooks may wish to access:

Instance Variablescontrol_dirControlDir of the checkout to change
to_branchbranch that the checkout is to reference
forceskip the check for local commits in a heavy checkout
revision_idrevision ID to switch to (or None)
Method __init__ Create a group of SwitchHook parameters.
Method __eq__ Undocumented
Method __repr__ Undocumented
def __init__(self, control_dir, to_branch, force, revision_id):
Create a group of SwitchHook parameters.
Parameterscontrol_dirControlDir of the checkout to change
to_branchbranch that the checkout is to reference
forceskip the check for local commits in a heavy checkout
revision_idrevision ID to switch to (or None)
def __eq__(self, other):
Undocumented
def __repr__(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2021-01-28 00:28:51.