Check if the revision can merge cleanly