Use the right revision for diffs.