Modified the unified_diff method to accept revision numbers.