Given changesets A & B, is there a command to tell if B is a descendant of A?
Assume that B is a descendant of A, but there are many changesets in between. I’m just trying to get a yes/no answer about this relationship.
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.
Answer: Use a revset
hg log -r “A and B::”
if you use tortosehg, then use the following in the search window. The parens are key