/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2008-04-12 05:48:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3364.
  • Revision ID: aaron@aaronbentley.com-20080412054807-47yd7dgjufa0nf98
rename 'sharing' to 'use-shared'

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        checkout = branch.create_checkout('checkout')
69
69
        self.run_bzr('reconfigure --lightweight-checkout checkout')
70
70
 
71
 
    def test_standalone_to_sharing(self):
 
71
    def test_standalone_to_use_shared(self):
72
72
        self.build_tree(['repo/'])
73
73
        tree = self.make_branch_and_tree('repo/tree')
74
74
        repo = self.make_repository('repo', shared=True)
75
 
        self.run_bzr('reconfigure --sharing', working_dir='repo/tree')
 
75
        self.run_bzr('reconfigure --use-shared', working_dir='repo/tree')
76
76
        tree = workingtree.WorkingTree.open('repo/tree')
77
77
        self.assertNotEqual(tree.bzrdir.root_transport.base,
78
78
            tree.branch.repository.bzrdir.root_transport.base)
79
79
 
80
 
    def test_sharing_to_standalone(self):
 
80
    def test_use_shared_to_standalone(self):
81
81
        repo = self.make_repository('repo', shared=True)
82
82
        branch = bzrdir.BzrDir.create_branch_convenience('repo/tree')
83
83
        self.assertNotEqual(branch.bzrdir.root_transport.base,