如何使用GUI差异工具查看Mercurial变更集更改 [英] How to view Mercurial changeset changes using a GUI diff tool
问题描述
我们同时使用Examdiff和Kdiff3来查看Mercurial更改.
We use both Examdiff and Kdiff3 to view Mercurial changes.
只需将其添加到.hgrc
:
[extdiff]
cmd.kdiff3 =
cmd.examdiff = C:\Program Files\ExamDiff Pro\ExamDiff.exe
然后您可以键入hg examdiff
或hg diff3
来查看所有更改的完整差异.
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.
我知道您可以键入hg log
来查看所有变更集,然后键入hg log -vprXX
来查看文本差异,但这对于我的GUI偏爱眼睛来说太难了.有谁知道如何与GUI工具等效?
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?
推荐答案
不能仅使用-c
选项进行extdiff使用吗?
Can't use just use the -c
option to extdiff?
hg kdiff3 -c XX
或
hg examdiff -c XX
在您的示例中?
-c-通过修订进行更改
-c --change change made by revision
来自hg help extdiff
输出.
这篇关于如何使用GUI差异工具查看Mercurial变更集更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!