~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testinv.py

Remove the only-used-once put_controlfiles, and change put_controlfile to put and put_utf8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
        self.branch.add(['file'], ['fileid'])
333
333
        self.branch.commit('add file', rev_id='B')
334
334
        self.inv_B = self.branch.storage.get_inventory('B')
335
 
        self.branch.control_files.put_controlfile('revision-history', 'A\n')
 
335
        self.branch.control_files.put_utf8('revision-history', 'A\n')
336
336
        self.assertEqual(self.branch.revision_history(), ['A'])
337
337
        self.branch.commit('another add of file', rev_id='C')
338
338
        self.inv_C = self.branch.storage.get_inventory('C')