~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/whitebox.py

[merge] robert

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
 
98
98
        b.rename_one('dir', 'newdir')
99
99
 
100
 
        self.check_inventory_shape(b.inventory,
 
100
        self.check_inventory_shape(b.working_tree().read_working_inventory(),
101
101
                                   ['newdir', 'newdir/sub', 'newdir/sub/file'])
102
102
 
103
103
        b.rename_one('newdir/sub', 'newdir/newsub')
104
 
        self.check_inventory_shape(b.inventory,
 
104
        self.check_inventory_shape(b.working_tree().read_working_inventory(),
105
105
                                   ['newdir', 'newdir/newsub',
106
106
                                    'newdir/newsub/file'])
107
107