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