Tag: Mercurial’

Reporting affected files with Mercurial

 - by joerg

In file based environments sometimes it is necessary to know exactly which files are affected for a bunch of changes made to a branch. For an elegant view use this following command:

hg log -b your_branch_name --template '{files} ' | tr ' ' '\n' | sort | uniq

For a better solution please leave a comment :)