218
243
tree.add('foo', 'foo-id')
219
244
entry = tree.inventory['foo-id']
220
245
builder = tree.branch.get_commit_builder([])
221
249
self.assertRaises(errors.RootMissing,
222
250
builder.record_entry_contents, entry, [], 'foo', tree,
223
251
tree.path_content_summary('foo'))