856
850
>>> inv = Inventory('TREE_ROOT-12345678-12345678')
857
851
>>> inv.add(InventoryFile('123-123', 'hello.c', ROOT_ID))
861
852
InventoryFile('123-123', 'hello.c', parent_id='TREE_ROOT-12345678-12345678', sha1=None, len=None)
863
854
def __init__(self, root_id=ROOT_ID, revision_id=None):