hghave: cache the result of gethgversion
hghave --test-features calls it 90 times, each one calling hg --version which takes a tenth of a second on my workstation, adding up to about 10s win on test-hghave.t. Fixes https://bugs.debian.org/939756 Differential Revision: https://phab.mercurial-scm.org/D8092
parent
3245cdea
No related branches found
No related tags found
Please register or sign in to comment