Added newrev and oldrev to the hook data