I just noticed that: $ hg init repo $ cd repo $ touch a.rb b.rb c.sql $ hg add a.rb b.rb c.sql $ HGMODULEPOLICY=rust+c hg st -a -I '**/*.rb' A a.rb A b.rb A c.sql $ HGMODULEPOLICY=c hg st -a -I '**/*.rb' A a.rb A b.rb A c.sql It appears to work correctly when listing unknowns, though. $ HGMODULEPOLICY=rust+c hg st -au -I '**/*.rb' A a.rb A b.rb
(In reply to Raphaël Gomès from comment #0) Whops, the c version (correctly) does NOT list the sql file.
Fixed by https://mercurial-scm.org/repo/hg/rev/fb6eca7b8c63 Raphaël Gomès <rgomes@octobus.net> rust-status: honor matcher when using the dirstate-only fast-path (issue6483) Differential Revision: https://phab.mercurial-scm.org/D9977 (please test the fix)
Bug was set to TESTING for 7 days, resolving