213
213
self.run_bzr_error(['Already a branch'], ['init', self.get_url()])
215
215
def test_init_append_revisions_only(self):
217
217
branch = _mod_branch.Branch.open('normal_branch6')
218
218
self.assertEqual(None, branch.get_append_revisions_only())
220
220
branch = _mod_branch.Branch.open('branch6')
221
221
self.assertEqual(True, branch.get_append_revisions_only())
222
222
self.run_bzr_error(['cannot be set to append-revisions-only'],
225
225
def test_init_without_username(self):
226
226
"""Ensure init works if username is not set.