I don't think there should be such a file unless hg is working. If this
question is Java related at all, you might suffer from the infamous
exception reuse problems in the JDK. In this case the overloaded
FileNotFoundException could be the culprit. Maybe your problem is a lack
of a write permission on the folder, not the lack of the file.
Peter