Add real_revision to compatibility