Added revision support to diff and revert