148
148
self.run_bzr_error(['Already a branch'], 'init', self.get_url())
150
150
def test_init_append_revisions_only(self):
152
152
branch = _mod_branch.Branch.open('normal_branch6')
153
153
self.assertEqual(False, branch._get_append_revisions_only())
154
154
self.run_bzr('init', '--append-revisions-only',
156
156
branch = _mod_branch.Branch.open('branch6')
157
157
self.assertEqual(True, branch._get_append_revisions_only())
158
158
self.run_bzr_error(['cannot be set to append-revisions-only'], 'init',