mercurial: ignore .h generated from .idl
is it possible to use .hgignore in mercurial to ignore header files generated from idl files?

I have a very large project in VS2008 and, by default, the midl tool generates .h files from .idl files in the same folder and with the same name. Naturally, I do not want the generated files controlled. Is it possible to configure mercurial to ignore a xxx.h file if there is xxx.idl file in the same folder?

Is there any other solution to my problem? Renaming the files for those ~100 projects would take ages and is not really an option I want to consider...
mercurial: ignore .h generated from .idl
===

is it possible to use .hgignore in mercurial to ignore header files generated from idl files?

I have a very large project in VS2008 and, by default, the midl tool generates .h files from .idl files in the same folder and with the same name. Naturally, I do not want the generated files controlled. Is it possible to configure mercurial to ignore a xxx.h file if there is xxx.idl file in the same folder?

Is there any other solution to my problem? Renaming the files for those ~100 projects would take ages and is not really an option I want to consider...