132
132
# Double binding succeeds, but committing to child2 should fail
133
133
self.run_bzr('bind ../child', working_dir='child2')
135
136
child2_tree = bzrdir.BzrDir.open('child2').open_workingtree()
136
137
self.assertRaises(errors.CommitToDoubleBoundBranch,
137
138
child2_tree.commit, message='child2', allow_pointless=True)