开发者

How to let Mercurial show "hg out --patch" diff as visual diff?

It looks like hg out --patch or hg out -p is a good way to see what code is pushed out to the repo (when it is pushed)... but the diff is in tex开发者_JAVA百科t format. Is there a way to make it use kdiff3 as well?


hg outgoing --patch shows the changes in each changeset separately, which probably isn't what you want if you're looking for a visual representation. You more likely want the GUI equivalent of hg diff -r your_latest_changeset -r remote_servers_latest_changeset where the latest changesets are the respective tip revisions if you're not using named branches. You can get that in your favorite GUI using the extdiff extension yielding a final command like:

hg extdiff -p kdiff3 -r your_latest_changeset -r remote_servers_latest_changeset


$ hg out --patch | mdr

Will give you a graphical view

You'll need MDR (mac and win)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜