Check for existence of the ID file before proceeding.
Only connect to the database once, and add error checking.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.