How to quickly determine which files differ in the mercury versions

It seems like this should be obvious, but I can't understand.

Suppose I have mercury versions 4 and 7, and I want to see which files have been changed between these versions. I can do hg diff -r 4 -r 7 to list the entire diff set ... is there a way to just list the files that have changed?

+7
mercurial
source share
2 answers
 hg status --rev 4:7 
+11
source share

You can use "hg log" for this.

 hg log --verbose --rev=4:7 --style=changelog 

Example:

 $ hg log -v -r4:7 --style=changelog 2008-08-03 21:40 +0200 XXXXX <XXXXXX.YYYY@xxxxxxxx.com> (475752c35880) * osinfo.py: new file. * os-info.py: deleted file. * os-info.py, osinfo.py: Rename os-info.py -> osinfo.py. 2008-08-03 21:52 +0200 XXXXXX <XXXXXX.YYYY@xxxxxxxx.com> (babf6df75ff4) * iterate_file_lines.py, osinfo.py: Add keyword substitution strings. 2008-08-03 21:53 +0200 XXXXXX <XXXXXX.YYYY@xxxxxxxx.com> (bc6fc22adb8e) * iterate_file_lines.py: Remove comment about coding conventions. 2008-08-08 19:43 +0200 XXXXXX <XXXXXX.YYYY@xxxxxxxx.com> (dbea6914b20f) * .hgignore: new file. * .hgignore: Add .hgignore. 
+3
source share

All Articles