I need to set up Mercurial HG in order to always take local
version of a file that matches in a specific folder.
EG: when conflict on /**/dist/ always take local
This because I need to commit some built files. Thanks in advance
EDIT:
I need to commit some files generated by some processors (libsass, webpack), it depends on a temporary unavailability of my build-system. So, I removed these files from the hgignore
. Now, the problem that I'm having is on Mercurial conflicts on these generated files. I want automate the merge-resolving using the local version of these files. similar to: How to keep the local file or the remote file during merge using Git and the command line? but for Mercurial HG