Firstly, I would prefer not to check the created files at all, but my manager insists. Therefore, given these limitations, I would like to create mercury “merge templates” that will always accept “their files” in all directories called “generated” in my working repo. I read the hgrc documentation and related post , and here is what I think it should look like this:
[merge-patterns] generated
And that fits in my .hg / hgrc file. When I run the hg update with merge conflicts, this is what I get:
> hg update couldn't find merge tool internal:other
So, I changed the "merge patterns" to look like this:
[merge-patterns] **/generated/** = internal:other
And here is what I get:
> hg update merging generated/file.sv
So, I no longer receive the message "I can not find the merge tool inside: other", but it is still trying to merge the generated files.
Any ideas on how to make this work?
Additional notes:
- We are using Mercurial version 1.7.5 because we are having problems with newer versions and subrepos.
- I work with subrepos, here is what the structure of my main repo looks like:

source share