Still working on changing the meaning of run-tests --with-hg, making it more useful and easier to understand. This should be it: I've folded patch #1 (which was tiny and trivial) into #4 (the big one). #1 really didn't need to be its own patch. This is as good as these patches are going to get without some review. Greg