/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_versioning.py

Merge from integration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        self.run_bzr('mkdir', 'foo', retcode=3)
42
42
 
43
43
        from bzrlib.diff import compare_trees
44
 
        wt = WorkingTree('.')
 
44
        wt = WorkingTree.open('.')
45
45
        
46
46
        delta = compare_trees(wt.basis_tree(), wt)
47
47
 
65
65
        os.chdir('..')
66
66
 
67
67
        from bzrlib.diff import compare_trees
68
 
        wt = WorkingTree('.')
 
68
        wt = WorkingTree.open('.')
69
69
        
70
70
        delta = compare_trees(wt.basis_tree(), wt)
71
71
 
94
94
        self.failUnless(os.path.isdir('a/b/dir'))
95
95
 
96
96
        from bzrlib.diff import compare_trees
97
 
        wt = WorkingTree('.')
98
 
        wt_a = WorkingTree('a')
99
 
        wt_b = WorkingTree('a/b')
 
97
        wt = WorkingTree.open('.')
 
98
        wt_a = WorkingTree.open('a')
 
99
        wt_b = WorkingTree.open('a/b')
100
100
        
101
101
        delta = compare_trees(wt.basis_tree(), wt)
102
102
        self.assertEquals(len(delta.added), 1)