[issue2096] The color extension does not work with --mq

Cédric Duval <bugs@mercurial.selenic.com> at mercurial.selenic.com Cédric Duval <bugs@mercurial.selenic.com> at mercurial.selenic.com
Sun Mar 14 18:48:36 UTC 2010


New submission from Cédric Duval <cedricduval at free.fr>:

When both mq and the color extension are used, the output of commands
wrapped by mqcommand is not colorized, as demonstrated by the following script.


#!/bin/sh

cat <<EOF >test.hgrc
[ui]
username=foo at bar
[extensions]
color=
mq=
EOF
export HGRCPATH="$(pwd)/test.hgrc"

rm -rf testrepo
hg init testrepo
cd testrepo
hg init --mq
hg qnew foo
touch bar
echo "% status on main repo (colorized)"
hg stat
echo "% status on queue repo (not colorized)"
hg stat --mq

----------
messages: 12046
nosy: cedric
priority: bug
status: unread
title: The color extension does not work with --mq
topic: mq

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2096>
____________________________________________________


More information about the Mercurial-devel mailing list