title: Mercurial hg status displaying ignored files
body: <p>Can anyone tell me why mercurial is displaying ignored files for the 'hg status' command?</p>
  
  <p>Here's the confirmation that mercurial is indeed ignoring the files:</p>
  
  <pre><code>$ hg addremove
  $ hg commit 
  nothing changed     
  </code></pre>
  
  <p>Now, have a look at the status output. I ran this immediately after the lines above. (Prinout is partial, with identifiable text removed)</p>
  
  <pre><code>$ hg status
  ? Core/target/Core-0.0.1-SNAPSHOT-tests.jar
  ? Core/target/Core-0.0.1-SNAPSHOT.jar
  ? Core/target/classes/META-INF/MANIFEST.MF
  ? Core/target/classes/xxx/yyy/zzz/X.class
  ? Core/target/classes/xxx/yyy/zzz/XBackup.class
  ? Core/target/classes/xxx/yyy/zzz/XBackupInput.class
  ? Core/target/classes/xxx/yyy/zzz/XBackupOutput.class
  ? Core/target/classes/xxx/yyy/zzz/XImpl$GetResultsAndStatistics.class
  ? Core/target/classes/xxx/yyy/zzz/XImpl$MonitoringMode.class
  ? Core/target/classes/xxx/yyy/zzz/XImpl$UpdateMode.class
  ? Core/target/classes/xxx/yyy/zzz/XImpl.class
  ? Core/target/classes/xxx/yyy/zzz/XIsFullException.class
  ? Core/target/classes/xxx/yyy/zzz/XSource.class
  ? Core/target/classes/xxx/yyy/zzz/XUsageException.class
  ? Core/target/classes/xxx/yyy/zzz/CheckResults.class
  ? Core/target/classes/xxx/yyy/zzz/Noise.class
  ? Core/target/classes/xxx/yyy/zzz/core/DateTimeGenerator$TemporalMeasure.class
  ? Core/target/classes/xxx/yyy/zzz/core/DateTimeGenerator.class
  ? Core/target/classes/xxx/yyy/zzz/core/LoggingConfigurator.class
  ? Core/target/classes/xxx/yyy/zzz/core/ManagedIterator.class
  ? Core/target/classes/xxx/yyy/zzz/core/NetworkUtils.class
  ? Core/target/classes/xxx/yyy/zzz/core/StackTraceUtils.class
  ? Core/target/classes/xxx/yyy/zzz/core/Summarisable.class
  ? Core/target/classes/xxx/yyy/zzz/core/TimingUtils.class
  ? Core/target/classes/xxx/yyy/zzz/core/XMLStaticStringUtils.class
  ? Core/target/classes/xxx/yyy/zzz/core/Zipper.class
  ...
  </code></pre>
  
  <p>There's something like a thousand lines of these ignored files showing in the status printout; that's some serious guff.</p>
  
  <p>How can I get rid of this?</p>
  
  <p>Thanks</p>
  
  <p>UPDATE:</p>
  
  <p>Here's my .hgignore file. </p>
  
  <pre><code>syntax:glob
  .metadata*
  
  syntax:regexp
  ^target.*$
  ^[^/]*/target.*$
  ^[^/]*/[^/]*/target.*$
  ^bin.*$
  ^[^/]*/bin.*$
  ^[^/]*/[^/]*/bin.*$
  </code></pre>
  
  <p>UPDATE:</p>
  
  <p>Modified regexps a wee bit * -> .*</p>