Flush stderr after write.
stderr can be buffered under win32 when redirected to a file,
including stdout.
#!/bin/shhg initecho "Is there an error message when trying to diff non-existing files?"hg diff not foundecho "Is there an error message when trying to add non-existing files?"hg add not found