is possible use mercurial (hg) ignore changes on local latest 1 , remind me of changes when conflicts?
e.g. have pom.xml file use less plugin, dont want less plugin run every time when change file in eclipse , triggers maven update. need when goes production.
so possible ignore changes on pom.xml file (comment out less plugin) not commit , still updates when other changes on pom.xml incoming.
you can't .hgignore, instructs mercurial untracked files ignore.
you can achieve want not committing changes pom.xml:
hg commit --exclude pom.xml
you'll need remember manual operation every commit, or can add following .hgrc or mercurial.ini:
[alias] mycommit = commit --exclude pom.xml
hg mycommit
exclude pom.xml