~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/bzrdir_implementations/test_bzrdir.py

  • Committer: Robert Collins
  • Date: 2006-02-11 23:18:07 UTC
  • mto: (1534.1.22 integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060211231807-30cf1893956ebb07
Create a checkout command.

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
        target = dir.clone(self.get_url('target'))
190
190
        self.assertNotEqual(dir.transport.base, target.transport.base)
191
191
        self.assertDirectoriesEqual(dir.root_transport, target.root_transport,
192
 
                                    ['./.bzr/stat-cache'])
 
192
                                    ['./.bzr/stat-cache', './.bzr/checkout/stat-cache'])
193
193
 
194
194
    def test_clone_bzrdir_tree_branch_reference(self):
195
195
        # a tree with a branch reference (aka a checkout) 
206
206
        target = dir.clone(self.get_url('target'))
207
207
        self.assertNotEqual(dir.transport.base, target.transport.base)
208
208
        self.assertDirectoriesEqual(dir.root_transport, target.root_transport,
209
 
                                    ['./.bzr/stat-cache'])
 
209
                                    ['./.bzr/stat-cache', './.bzr/checkout/stat-cache'])
210
210
 
211
211
    def test_clone_bzrdir_tree_revision(self):
212
212
        # test for revision limiting, [smoke test, not corner case checks].
340
340
        target = dir.sprout(self.get_url('target'))
341
341
        self.assertNotEqual(dir.transport.base, target.transport.base)
342
342
        self.assertDirectoriesEqual(dir.root_transport, target.root_transport,
343
 
                                    ['./.bzr/stat-cache'])
 
343
                                    ['./.bzr/stat-cache', './.bzr/checkout/stat-cache'])
344
344
 
345
345
    def test_sprout_bzrdir_tree_branch_reference(self):
346
346
        # sprouting should create a repository if needed and a sprouted branch.