Return retval 0 when revision is already set