~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_init.py

IntroduceĀ dirstate-tagsĀ format

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
        self.run_bzr_error(['Already a branch'], 'init', self.get_url())
149
149
 
150
150
    def test_init_append_revisions_only(self):
151
 
        self.run_bzr('init', '--dirstate-with-subtree', 'normal_branch6')
 
151
        self.run_bzr('init', '--dirstate-tags', 'normal_branch6')
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',
155
 
                     '--dirstate-with-subtree', 'branch6')
 
155
                     '--dirstate-tags', 'branch6')
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',