I’m tracking a complex bug and I want to find out the changeset that introduced it by testing the program with old revisions.
Given a local mercurial repository with 100 changesets, how can I pull(revert ? clone ?) to a previous (ex.50) changeset ?
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.
if you don’t have any work to lose then you can say:
That says update to revision REV (a number), and discard any uncommitted changes I have.
Also, hg already has command especially for trying to find a change that something was broken.
There is a chapter about it here.