title: How do I make mercurial ignore any file with .xxx extension
body: <p>I want Mercurial to ignore any file with a certain extension.</p>
  
  <p>For example, I wanted to ignore files with a .SUO extension. (There's no need to version-control Visual Studio user settings.)</p>
  
  <p>So I changed my .hgignore file to this:</p>
  
  <pre><code>syntax: glob
  *.suo
  </code></pre>
  
  <p>However, this has no effect, and Mercurial still sees my .suo file.</p>
  
  <p>What am I doing wrong here?</p>