b.t.p.t.TestStacking(TestCaseWithBranch) : class documentation

Part of bzrlib.tests.per_branch.test_stacking View In Hierarchy

No class docstring
Method check_lines_added_or_present Undocumented
Method test_get_set_stacked_on_url Undocumented
Method test_get_set_stacked_on_relative Undocumented
Method test_set_stacked_on_same_branch_raises Undocumented
Method test_set_stacked_on_same_branch_after_being_stacked_raises Undocumented
Method assertRevisionInRepository Check that a revision is in a repository, disregarding stacking.
Method assertRevisionNotInRepository Check that a revision is not in a repository, disregarding stacking.
Method test_get_graph_stacked A stacked repository shows the graph of its parent.
Method test_sprout_stacked Undocumented
Method test_sprout_stacked_from_smart_server Undocumented
Method test_unstack_fetches Removing the stacked-on branch pulls across all data
Method test_unstack_already_locked Removing the stacked-on branch with an already write-locked branch
Method test_unstack_already_multiple_locked Unstacking a branch preserves the lock count (even though it
Method make_stacked_bzrdir Create a stacked branch and return its bzrdir.
Method test_clone_from_stacked_branch_preserve_stacking Undocumented
Method test_clone_from_branch_stacked_on_relative_url_preserve_stacking Undocumented
Method test_clone_from_stacked_branch_no_preserve_stacking Undocumented
Method test_no_op_preserve_stacking With no stacking, preserve_stacking should be a no-op.
Method make_stacked_on_matching Undocumented
Method test_sprout_stacking_policy_handling Obey policy where possible, ignore otherwise.
Method test_clone_stacking_policy_handling Obey policy where possible, ignore otherwise.
Method test_sprout_to_smart_server_stacking_policy_handling Obey policy where possible, ignore otherwise.
Method prepare_stacked_on_fetch Undocumented
Method test_fetch_copies_from_stacked_on Undocumented
Method test_fetch_copies_from_stacked_on_and_stacked Undocumented
Method test_autopack_when_stacked Undocumented
Method test_pull_delta_when_stacked Undocumented
Method test_fetch_revisions_with_file_changes Undocumented
Method test_transform_fallback_location_hook Undocumented
Method test_stack_on_repository_branch Undocumented
Method test_revision_history_of_stacked Undocumented

Inherited from TestCaseWithBranch:

Method setUp Undocumented
Method get_branch Undocumented
Method get_default_format Undocumented
Method make_branch Undocumented
Method create_tree_with_merge Create a branch with a simple ancestry.
def check_lines_added_or_present(self, stacked_branch, revid):
Undocumented
def test_get_set_stacked_on_url(self):
Undocumented
def test_get_set_stacked_on_relative(self):
Undocumented
def test_set_stacked_on_same_branch_raises(self):
Undocumented
def test_set_stacked_on_same_branch_after_being_stacked_raises(self):
Undocumented
def assertRevisionInRepository(self, repo_path, revid):
Check that a revision is in a repository, disregarding stacking.
def assertRevisionNotInRepository(self, repo_path, revid):
Check that a revision is not in a repository, disregarding stacking.
def test_get_graph_stacked(self):
A stacked repository shows the graph of its parent.
def test_sprout_stacked(self):
Undocumented
def test_sprout_stacked_from_smart_server(self):
Undocumented
def test_unstack_fetches(self):
Removing the stacked-on branch pulls across all data
def test_unstack_already_locked(self):
Removing the stacked-on branch with an already write-locked branch works.

This was bug 551525.

def test_unstack_already_multiple_locked(self):
Unstacking a branch preserves the lock count (even though it replaces the br.repository object).

This is a more extreme variation of test_unstack_already_locked.

def make_stacked_bzrdir(self, in_directory=None):
Create a stacked branch and return its bzrdir.
Parametersin_directoryIf not None, create a directory of this name and create the stacking and stacked-on bzrdirs in this directory.
def test_clone_from_stacked_branch_preserve_stacking(self):
Undocumented
def test_clone_from_branch_stacked_on_relative_url_preserve_stacking(self):
Undocumented
def test_clone_from_stacked_branch_no_preserve_stacking(self):
Undocumented
def test_no_op_preserve_stacking(self):
With no stacking, preserve_stacking should be a no-op.
def make_stacked_on_matching(self, source):
Undocumented
def test_sprout_stacking_policy_handling(self):
Obey policy where possible, ignore otherwise.
def test_clone_stacking_policy_handling(self):
Obey policy where possible, ignore otherwise.
def test_sprout_to_smart_server_stacking_policy_handling(self):
Obey policy where possible, ignore otherwise.
def prepare_stacked_on_fetch(self):
Undocumented
def test_fetch_copies_from_stacked_on(self):
Undocumented
def test_fetch_copies_from_stacked_on_and_stacked(self):
Undocumented
def test_autopack_when_stacked(self):
Undocumented
def test_pull_delta_when_stacked(self):
Undocumented
def test_fetch_revisions_with_file_changes(self):
Undocumented
def test_transform_fallback_location_hook(self):
Undocumented
def test_stack_on_repository_branch(self):
Undocumented
def test_revision_history_of_stacked(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.