Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[hg completions] remove a grep and use hg's native query syntax #3975
Small simplification of the hg completions code, likely a teeny tiny performance win from not spawning two processes.
This has the side benefit of working around a wild bug with readline+fish that I've reported to the upstream readline developers. (The result of that bug is that the hg processes are constantly being leaked as
What's using readline here? Fish used to, but it now has its own implementation.
That's most likely a result of #3952 - it seems hg is attempting to read the terminal, and fish sets up the process groups wrong.
Anyway, the patch is good and goes in.