klenwell
klenwell

Reputation: 7148

In Mercurial, is it possible to display the diff between 2 revisions in the web view?

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?

Upvotes: 2

Views: 1196

Answers (1)

Aaron Jensen
Aaron Jensen

Reputation: 26819

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:

hg extdiff -r250 -r260 path/to/myfile.py

Upvotes: 2

Related Questions