Improve printing of a diff on a review page

Now I am trying to make simple experiment with a repository interface and what is the most convenient way to print out a diff of a changeset