l.c.p.t.t.PrearrangedStackedBranchPolicy(BranchMirrorerPolicy, AcceptAnythingPolicy) : class documentation

Part of lp.codehosting.puller.tests.test_worker View In Hierarchy

A branch policy that returns a pre-configurable stack-on URL.
Method __init__ Undocumented
Method getStackedOnURLForDestinationBranch Get the stacked on URL for source_branch.

Inherited from BranchMirrorerPolicy:

Method createDestinationBranch Create a destination branch for 'source_branch'.
def __init__(self, stack_on_url):
Undocumented
def getStackedOnURLForDestinationBranch(self, source_branch, destination_url):
Get the stacked on URL for source_branch.

In particular, the URL it should be stacked on when it is mirrored to destination_url.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.