如何使用GUI差异工具查看Mercurial变更集更改 [英] How to view Mercurial changeset changes using a GUI diff tool

查看:91
本文介绍了如何使用GUI差异工具查看Mercurial变更集更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们同时使用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 examdiffhg 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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆