Use a prefix for debuginstall tempfiles.
This way you know where the files came from if they don't get removed.
#!/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