title: Mercurial - How to stop tracking modified file but keep the first version in repository
body: <p>I create the hg repository with my source tree. I want to keep the first version of some files such as <code>Makefile</code> in the repository and then hg don't see it modified even through I modified it.</p>
  
  <p>Original problem is that <code>./configure</code> usually modifies the <code>Makefile</code> but I don't want the build files to committed in the repository. So I want to keep only first version of configure and <code>Makefile</code> in the repository so that everybody who clone my repository can run <code>./configure</code> by themself and not bother the repository</p>
  
  <p>I tried <code>hg remove</code> or <code>hg forget</code> but those are stop tracking and also delete the files in the next revision of reporitory.</p>
  
  <p><code>.hgignore</code> doesn't do the things too. </p>
  
  <p>I think of <code>hg revert</code> everytimes I run <code>./configure</code> or make but it's not efficient way.
  Are there any better ways?</p>