Prepare to produce summary lines for each revision
Prefix all paths with '/'

The '/' acts as a sentinel and simplifies logic elsewhere.  Plus, it
corresponds to the way we write paths in repositories.txt
Truncate common path prefixes on directory boundaries
Format the revision summary
Format the detail lines again