I want to write a Bazaar plugin that performs some actions one the modified files before they are committed. Things like checking for syntax errors, and warning the commiter if there are still TODO's in the file.
How do I get a list of the modified files in a Bazaar plugin?