Implemented Revision::patch() method. xdiff bugs around.