Part of bzrlib.branch View In Hierarchy
Known subclasses: bzrlib.branch.GenericInterBranch
Its instances have methods like pull() and push() and contain references to the source and target repositories these operations can be carried out on.
| Method | pull | Mirror source into target branch. |
| Method | push | Mirror the source branch into the target branch. |
| Method | copy_content_into | Copy the content of source into target |
| Method | fetch | Fetch revisions. |
| Class Method | _get_branch_formats_to_test | Return an iterable of format tuples for testing. |
Inherited from InterObject:
| Method | __init__ | Construct a default InterObject instance. Please use 'get'. |
| Class Method | get | Retrieve a Inter worker object for these objects. |
| Method | lock_read | Take out a logical read lock. |
| Method | lock_write | Take out a logical write lock. |
| Class Method | register_optimiser | Register an InterObject optimiser. |
| Method | unlock | Release the locks on source and target. |
| Class Method | unregister_optimiser | Unregister an InterObject optimiser. |
| Method | _double_lock | Take out two locks, rolling back the first if the second throws. |
| Returns | An iterable of (from_format, to_format) to use when testing this InterBranch class. Each InterBranch class should define this method itself. | |
The target branch is considered to be 'local', having low latency.
| Returns | PullResult instance | |
The source branch is considered to be 'local', having low latency.
Copy the content of source into target
| Parameters | stop_revision | Last revision to fetch |
| limit | Optional rough limit of revisions to fetch |