1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-12 20:31:00 +01:00
Files
oh-my-zsh/plugins/mercurial/mercurial.plugin.zsh
Roger Pate 2115c86ae0 fix(mercurial): use "hg identify --template", avoid "hg status" when possible
Use "hg identify" with a template parameter to generate revision identifiers (branch, bookmarks, tags) because this is faster, more complete, and more customizable.

When DISABLE_UNTRACKED_FILES_DIRTY=true, avoid "hg status" entirely; otherwise, stop once the first untracked file is found.  This should be much faster on really large repositories.
2024-11-25 03:21:47 -05:00

2.4 KiB