b.f.InterToForeignBranch(InterBranch) : class documentation

Part of bzrlib.foreign View In Hierarchy

Known subclasses: bzrlib.tests.test_foreign.InterToDummyVcsBranch

No class docstring
Method lossy_push Push deltas into another branch.

Inherited from InterBranch:

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 (via InterBranch):

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.
def lossy_push(self, stop_revision=None):
Push deltas into another branch.
ParameterstargetTarget branch
stop_revisionRevision to push, defaults to last revision.
ReturnsBranchPushResult with an extra member revidmap: A dictionary mapping revision ids from the target branch to new revision ids in the target branch, for each revision that was pushed.
NoteThis does not, like push, retain the revision ids from the source branch and will, rather than adding bzr-specific metadata, push only those semantics of the revision that can be natively represented by this branch' VCS.
API Documentation for Bazaar, generated by pydoctor at 2011-05-17 00:01:41.