title: Mercurial ignore file
body: <p>I'm trying to get Mercurial to ignore a configuration file, but I'm failing to get it working.</p>
  
  <p>I have created a repository on my server with <code>hg init</code> and cloned that repository to my computer.  I then want to be able to edit the configurationj file but not commit those changes back to the server.</p>
  
  <p>I have tried creating a <code>.hgignore</code> in the root of my clone, but Mercurial flags the file with a <code>?</code> and whether I commit it or not it still continues to log my configuration changes.</p>
  
  <p>Am I creating the <code>.hgignore</code> file in the wrong place, does this file need to be commited? Does it need to be created before I init the repository on the server?</p>