Part of lp.codehosting.puller.tests.test_errors.TestErrorCatching View In Hierarchy
Method | __init__ | Construct a branch opener with 'policy'. |
Method | open | Undocumented |
Inherited from BranchMirrorer:
Method | createDestinationBranch | Create a destination branch for 'source_branch'. |
Method | openDestinationBranch | Open or create the destination branch at 'destination_url'. |
Method | updateBranch | Bring 'dest_branch' up-to-date with 'source_branch'. |
Method | mirror | Mirror 'source_branch' to 'destination_url'. |
Parameters | policy | A BranchOpenPolicy that tells us what URLs are valid
and similar things. |
log | A callable which can be called with a format string and arguments to log messages in the scheduler, or None, in which case log messages are discarded. |