``deleted_paths`` and ``added_paths`` are lists of paths. Renamed paths are recorded in both ``deleted_paths`` and ``added_paths`` (i.e. deleted then added).
``future_revision_tree`` is obtained from ``CommitBuilder.revision_tree`` to save hooks from getting it from the branch again.
For example, hooks can get a file:
::
for path in added_paths: id = future_revision_tree.path2id(path) if future_revision_tree.kind(id) == 'file': file = future_revision_tree.get_file(id) ...