ugly colors in "hg view"
TK Soh
teekaysoh at gmail.com
Sat Nov 3 20:28:46 CDT 2007
On 11/3/07, Patrick Mézard <pmezard at gmail.com> wrote:
> Ondrej Certik a écrit :
> > Hi,
> >
> > today I upgraded to the newest mercurial in Debian and I hate those
> > colors in "hg view". ;) I know I can change that in .gitk, but there
> > are 2 problems with that:
> >
> > * .gitk is share with git (!!), and even though I myself prefer
> > mercurial to git, there are projects that use git, and I naturally use
> > gitk with them. All my changes get rewritten, so it's pointless to
> > customize "hg view" this way.
>
> Brian patch was pushed in crew.
>
> > If it's only me, who don't like those colors, it's fine. But if you
> > agree, how about using this:
>
> For the sake of the discussion:
>
> * Original colors:
> <http://patrick.mezard.ifrance.com/hg/hgk/hgk-original.png>
First, if I understand you correctly, the _original_ (without author
coloring) is black.
> > set authorcolors {
> > black deeppink mediumorchid blue burlywood4 goldenrod slateblue
> > red2 navy dimgrey
> > }
> <http://patrick.mezard.ifrance.com/hg/hgk/hgk-ondrej-1.png>
>
>
> > or at least this:
> >
> > set authorcolors {
> > blue deeppink mediumorchid burlywood4 goldenrod slateblue red2 navy dimgrey
> > }
> <http://patrick.mezard.ifrance.com/hg/hgk/hgk-ondrej-2.png>
I've been wondering why the hgk view on my personal repos look so
strange (since I am the sole author, all entries show up in pink
color).
IMO, this should have been an optional preference setting, with a
menu entry to enable/disable author coloring. And, even with the
coloring turned on, the default color should be black.
Deeppink is just too 'romantic' for my linking ;-)
More information about the Mercurial
mailing list