Skip to content
Unverified Commit e52584c9 authored by anatolyrr's avatar anatolyrr Committed by Marc Cornellà
Browse files

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 #7929
parent dcf12ba8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment