~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2006-02-11 11:58:06 UTC
  • mto: (1534.1.22 integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060211115806-732dabc1e35714ed
Give format3 working trees their own last-revision marker.

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)