Part of bzrlib.branch View In Hierarchy
*_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 Variables | format | the branch format |
bzrdir | the ControlDir where the branch will be/has been initialized | |
name | name of colocated branch, if any (or None) | |
branch | the branch created |
Method | __init__ | Create a group of BranchInitHook parameters. |
Method | __eq__ | Undocumented |
Method | __repr__ | Undocumented |
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.
Parameters | format | the branch format |
controldir | the ControlDir where the branch will be/has been initialized | |
name | name of colocated branch, if any (or None) | |
branch | the branch created |