mercurial: fix coloring for "hg qseries" command

This commit is contained in:
2025-07-22 00:57:05 +00:00
parent 1b4a6a53e6
commit 5b7c93b490

View File

@@ -6,6 +6,15 @@
# it's a port of some git extension, idk which.
mq =
# `hg help color`
# to see the label used in a specific context, set `--color debug`.
# e.g. `hg stat --color debug`
[color]
qseries.applied = blue bold underline
qseries.unapplied = magenta
# qseries.message.applied
# qseries.message.unapplied
[diff]
# showfunc = True
# `diff.git = True`: render diffs with `diff --git` instead of `diff -r`
@@ -15,8 +24,7 @@ git = True
[alias]
noop = !$HG > /dev/null
# --color never because it'll use black-on-black ...
q = qseries -s -v --color never
q = qseries -s -v
#
# `hg qpath`: print the path to the current queue
qpath = !$HG noop ; echo ".hg/patches-$($HG qqueue --active)" | sed 's:hg/patches-patches:hg/patches:'