Mercurial: recursively remove all class files
Assuming you have erroneously added some .class files to your hg repo and want to get rid of them:
hg rm "glob:**/*.class"
(as always, StackOverflow provided the answer - see http://stackoverflow.com/questions/4828211/how-do-i-recursively-remove-folders-from-mercurial-tracking-system )