I’ve accidentally pulled some changes from the main repo with –rebase parameter.
How do I restore the original repository state from the backup which was created during the rebase?
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.
hg unbundleis used to apply the backup file:However, this does not remove the new changesets that have been created by the rebase; it is probably a good idea to call
hg unbundlefrom a repo that does not have the rebased changesets (i.e. clone latest version from server).