~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/versioning.py

Merged Martin

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        chdir = os.chdir
128
128
        
129
129
        b = Branch.initialize('.')
 
130
        t = b.working_tree()
130
131
        self.build_tree(['src/', 'README'])
131
132
        
132
133
        eq(sorted(b.unknowns()),
141
142
        
142
143
        eq(sorted(b.unknowns()), 
143
144
           ['README'])
144
 
        eq(len(b.inventory), 3)
 
145
        eq(len(t.read_working_inventory()), 3)
145
146
                
146
147
        chdir('..')
147
148
        self.run_bzr('add')