patch: don't produce a traceback in case of invalid diff content, a warning is enough.
Also, skip the patch renderer if it didn't produce any 'diffs'.
Authored by: cboos 2010-05-17
Parent: [r9710]
Child: [r9712]