From the command line, the command would be run like this:
hg diff -r250 -r260 path/to/myfile.py
Is it possible to get a view like that in the web view? A diff view like this, but for two non-successive revisions?
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.
This isn’t currently possible (as of Mercurial 2.3).
Mercurial version 2.3 introduced a side-by-side comparison view, but it only shows the differences introduced by each changeset (i.e. between a revision and its parent).
I recommend using a third-part, GUI-based diff tool, and enabling and configuring Mercurial’s extdiff extension to use it. You can then run your diff command through extdiff: