1311
1312
def new_orphan(self, trans_id, parent_id):
1312
1313
"""See TreeTransformBase.new_orphan."""
1313
1314
# Add the orphan dir if it doesn't exist
1315
1317
if self.final_kind(od_id) is None:
1316
1318
self.create_directory(od_id)
1317
1320
# Find a name that doesn't exist yet in the orphan dir
1319
1323
self.adjust_path(new_name, od_id, trans_id)
1322
1328
class TreeTransform(DiskTreeTransform):