How do I get a list of files modified between two arbitrary changesets?
hg diff -r 182 -r 193 --stat
or
hg status --rev 182:193
The basic command to look for when you want to know something about file status is hg status
. The status command is the file name oriented command and you want to know some file names.
When you run it as
$ hg status
then it compares the working copy state with the working copy parent revision (.
). But if you run it as
$ hg status --rev AA:BB
then it will show files modified between AA
and BB
! No need for grepping, cutting, sorting or templates.
(I've explained this before here, here, and here, please see those questions and answers for more tips.)