It should work (I can't check it right now) with the following syntax, according to issue 1697 :
Window:
hg revert "glob:*test.*" # or hg revert -I "*test.*" --all
Unix:
hg revert 'glob:*test.*' hg revert -I '*test.*'
(Note the simple quotes for Unix)
source share