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