~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-03-14 05:08:55 UTC
  • mfrom: (1551.13.2 Aaron's mergeable stuff)
  • Revision ID: pqm@pqm.ubuntu.com-20070314050855-7241ac88a0577101
Hide dirstate-with-subtree, introduce dirstate-tags

Show diffs side-by-side

added added

removed removed

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