mercurial: fix coloring for "hg qseries" command
This commit is contained in:
@@ -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:'
|
||||
|
Reference in New Issue
Block a user