Just a reminder: Mercurial repository clones get slower over time. It’s worth deleting and recloning every so often.
For example, I had one old repository that I’d done a lot of work in and updated many times. It had a patch queue containing a single patch. I tried doing
hg qdiff four times in a row. The first one took 65 seconds, and the next three each took 16 seconds.
I deleted the repository, re-cloned, re-applied the patch, and
hg qdiff now takes 1 second. Much better.