108
98
self.map.start_write_group()
109
99
updater = self.cache.get_updater(Revision("myrevid"))
113
102
t.add(stat.S_IFREG, "somename", Blob().id)
114
103
ie = InventoryDirectory("fileid", "myname", ROOT_ID)
115
104
ie.revision = "irrelevant"
118
107
self.map.commit_write_group()
119
108
self.assertEquals(("tree", ("fileid", "myrevid")),