Refactor logic for parsing Trac revisions into its own function and add logic for...