perf(mercurial): improve performance of `hg_prompt_info` (#7929)
Replaced two different calls of hg with one `hg --id --branch` for retrieving information whether we're in a repo (will be empty if not), whether the repo is dirty (revision id will contain "+" if there are uncommitted changed), and the branch name. Closes #6197 Closes #7929master
parent
dcf12ba8f3
commit
e52584c901
1 changed files with 22 additions and 5 deletions
Loading…
Reference in new issue