简体   繁体   中英

how to check which files has been changed between two revisions in Mercurial / Tortoise Hg?

how to check which files has been changed between two revisions in Mercurial / Tortoise Hg?

I have tried visual diff of tortoiseHg, it do not highlight which specific files have been added, changed or unchanged and you have to click every file to get details

CLI-version: hg diff -r START -r END --stat

Sample:

>hg diff -r 4 -r tip --stat
 404.php        |    4 ++--
 functions.php  |    2 +-
 readme.txt     |   28 +++++++++++++++++-----------
 screenshot.png |  Bin
 sidebar.php    |    2 +-
 style.css      |    4 ++--
 6 files changed, 23 insertions(+), 17 deletions(-)

After some research I have find out that in Directory menu of Visual diff of tortoiseHg you can select which files should be displayed.

So I navigated to Directory menu and unselected these:

  • Show Identical files
  • Show files only in A
  • Show only files in B

And then I selected Show different files

在此处输入图片说明

Now visual diff is only showing files which are changed in 2 different revisions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM