I have a big Mercurial Repository on Google Code Hosting, how can I delete the old commits/revisions? I don’t need that old revisions anymore because I have forked it to other repositories.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would say that deleting revisions is anathema to version control 🙂
Nevertheless, you might use the
hg convertoptions to convert to a new repo with changed revisions. AFAIK using splicemap, you could remove revisions.But it won’t help with the Google repository, because it stays as it is. You will have to delete it (reset as described by Klaim) and push the converted repository.
You can also push the converted repository to another place (other then default repo) because you may have up to 7 repositories on Google Code in one project.