254
250
def test_commit_new_subdir_child_selective(self):
255
251
b = Branch.initialize('.')
256
252
self.build_tree(['dir/', 'dir/file1', 'dir/file2'])
257
b.add(['dir', 'dir/file1', 'dir/file2'],
253
b.working_tree().add(['dir', 'dir/file1', 'dir/file2'],
258
254
['dirid', 'file1id', 'file2id'])
259
255
b.working_tree().commit('dir/file1', specific_files=['dir/file1'], rev_id='1')
260
256
inv = b.get_inventory('1')