~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Add a new method ``Tree.revision_tree`` which allows access to cached
trees for arbitrary revisions. This allows the in development dirstate
tree format to provide access to the callers to cached copies of 
inventory data which are cheaper to access than inventories from the
repository. (Robert Collins, Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
        self.assertEqual('', out)
74
74
        self.assertContainsRe(err,
75
75
            r'^bzr: ERROR: .*'
76
 
            '\[Errno 2\] No such file or directory: ')
 
76
            '\[Errno 2\] No such file or directory')
77
77
        
78
78
        os.mkdir('subdir2')
79
79
        out, err = self.run_bzr('init', 'subdir2')