I’m working in a project
I used to do things like:
hg grep TODO
to find stuff that needs fixing for example.
But now I have included source code from other projects and
hg grep TODO becomes useless because of the existence of TODO’s in the added source code projects which is not mine. Now I can add an parameter –exclude=frameworks to the command but
typing that each time is annoying…
The alias section of hgrc is suited for this. You could add this to your local
.hgrcor if this is relevant for just this repository, to your.hg/hgrc: