mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-05 09:48:40 +08:00

The default hg prompt is slow on large repositories (hg status takes 2-3 seconds on mozilla-central) which is unacceptable as a default. Mimick our git prompt: by default, only show the current branch. If the new variable $fish_prompt_hg_show_informative_status is set, then use the old behavior. [ci skip] (cherry picked from commit da7b762f4adb0341cea53e759965cac9c3b2e375)