My only guess is something horrible like this:
# files where something has been added
hg diff -r AA -r BB|grep -- +++|cut -f1|cut -d/ -f2- >/tmp/ka
# files where something has been removed
hg diff -r AA -r BB|grep -- ---|cut -f1|cut -d/ -f2- >>/tmp/ka
# filtering out "dev/null": it appears when a file is added or removed from the repository
sort -u /tmp/ka |grep -v dev/null
What I need is the files modified between changeset AA and changeset BB. Something like hg diff -r AA -r BB but file names only, instead of a whole diff.
Maybe there’s a mercurial command I didn’t notice? The changesets I want to examine are not consecutive, otherwise I could have just used hg status.
NOT the modified files of a single changeset.
edit: I need to do this because I’m working with some programmers from the Bronze Age who don’t understand what a .diff is, please bear with me…
hg diff -r 182 -r 193 --stator
hg status --rev 182:193