b.t.t.TestSetLastRevisionVerbMixin(object) : class documentation

Part of bzrlib.tests.test_smart View In Hierarchy

Known subclasses: bzrlib.tests.test_smart.TestSmartServerBranchRequestSetLastRevision, bzrlib.tests.test_smart.TestSmartServerBranchRequestSetLastRevisionEx, bzrlib.tests.test_smart.TestSmartServerBranchRequestSetLastRevisionInfo

Mixin test case for verbs that implement set_last_revision.
Method test_set_null_to_null An empty branch can have its last revision set to 'null:'.
Method test_NoSuchRevision If the revision_id is not present, the verb returns NoSuchRevision.
Method make_tree_with_two_commits Undocumented
Method test_branch_last_revision_info_is_updated A branch's tip can be set to a revision that is present in its
Method test_branch_last_revision_info_rewind A branch's tip can be set to a revision that is an ancestor of the
Method test_TipChangeRejected If a pre_change_branch_tip hook raises TipChangeRejected, the verb
def test_set_null_to_null(self):
An empty branch can have its last revision set to 'null:'.
def test_NoSuchRevision(self):
If the revision_id is not present, the verb returns NoSuchRevision.
def make_tree_with_two_commits(self):
Undocumented
def test_branch_last_revision_info_is_updated(self):
A branch's tip can be set to a revision that is present in its repository.
def test_branch_last_revision_info_rewind(self):
A branch's tip can be set to a revision that is an ancestor of the current tip.
def test_TipChangeRejected(self):
If a pre_change_branch_tip hook raises TipChangeRejected, the verb returns TipChangeRejected.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.