List files that are different between two hg changesets [duplicate]

北慕城南 提交于 2019-12-10 18:46:02

问题


Possible Duplicate:
Generating a list of which files changed between hg versions

hg diff -r 5 -r 10 will give the differences between revisions 5 and 10. But I want to see specifically just a list of files that are different - I don't want to see the full diffs. Is there a quick way to do this?


回答1:


hg status can do this.

The main purpose of hg status is showing modified files in the working directory (in comparison to the last commit).
But you can use the --rev parameter to let it compare two specific revisions instead, like this:

hg status --rev 5 --rev 10


来源:https://stackoverflow.com/questions/8842493/list-files-that-are-different-between-two-hg-changesets

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