I'm also a big fan of hg revsets: https://www.selenic.com/hg/help/revsets
Granted, it's not a commonly used feature by solo devs working on their own projects, but is useful for team repos that get large enough where you need to do audits on the codebase.