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