A co-sharer who has alienated his lot in whole or in part is no longer entitled to bring an action based on fraud, mistake or violence, if the alienation he has made is subsequent to the discovery of the fraud or mistake or the cessation of the violence.