Visual diff - optimization
Created originally on Bitbucket by czarnyczarodziej (Piotr Klecha)
Doing visual diff between two revisions with lots of files changed takes significantly more time than running hg diff from command line. The reason for this is Thg copying files to temporary directories, which is fine when using a diff tool that supports directory diffs, but almost entirely pointless if you eventually end up with a window that lists all changed files and have to click on each of them to get one diff at a time. In the latter case it would be better to display the list instantly (without copying files) and produce diffs as user clicks on each file.