b.b.BranchInitHookParams(object) : class documentation

Part of bzrlib.branch View In Hierarchy

Object holding parameters passed to *_branch_init hooks.

There are 4 fields that hooks may wish to access:

Note that for lightweight checkouts, the bzrdir and format fields refer to the checkout, hence they are different from the corresponding fields in branch, which refer to the original branch.

Instance Variablesformatthe branch format
bzrdirthe ControlDir where the branch will be/has been initialized
namename of colocated branch, if any (or None)
branchthe branch created
Method __init__ Create a group of BranchInitHook parameters.
Method __eq__ Undocumented
Method __repr__ Undocumented
def __init__(self, format, controldir, name, branch):
Create a group of BranchInitHook parameters.

Note that for lightweight checkouts, the bzrdir and format fields refer to the checkout, hence they are different from the corresponding fields in branch, which refer to the original branch.

Parametersformatthe branch format
controldirthe ControlDir where the branch will be/has been initialized
namename of colocated branch, if any (or None)
branchthe branch created
def __eq__(self, other):
Undocumented
def __repr__(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-10-20 00:34:54.