I wonder if it'd make sense to have a --output for hg diff too. This should allow user to bypass the OS messing with the line terminations. On a personal agenda, I'd like to be able to save the diff output directly to a file from within TortoiseHg dialogs.