393
401
def test_push_new_branch_stacked_on(self):
394
402
"""Pushing a new branch with --stacked-on creates a stacked branch."""
395
404
trunk_tree, branch_tree = self.create_trunk_and_feature_branch()
396
405
# we publish branch_tree with a reference to the mainline.
397
406
out, err = self.run_bzr(['push', '--stacked-on', trunk_tree.branch.base,