How to view Mercurial changeset changes using a GUI diff tool

不想你离开。 提交于 2019-12-07 13:49:21

问题


We use both Examdiff and Kdiff3 to view Mercurial changes.

Just add this to .hgrc:

[extdiff]
cmd.kdiff3 =
cmd.examdiff = C:\Program Files\ExamDiff Pro\ExamDiff.exe

And then you can type hg examdiff or hg diff3 to see a complete diff of all your changes.

What I would like is to do the same to see a "before and after" of files for a given changeset that was checked in by someone else.

I know you can type hg log to see all changesets and then hg log -vprXX to see a text diff, but that's too hard for my GUI preferring eyes. Anyone know how to the equivalent with the GUI tools?


回答1:


Can't use just use the -c option to extdiff?

hg kdiff3 -c XX

or

hg examdiff -c XX

in your example?

-c --change change made by revision

from the hg help extdiff output.



来源:https://stackoverflow.com/questions/2580662/how-to-view-mercurial-changeset-changes-using-a-gui-diff-tool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!