4

my hgrc:

[ui] style=compact [extensions] graphlog= color= 

but hg glog has no color. and, how many style for hg log, help, man can't get any information.

2
  • which hg version in which shell in what terminal on what operating system? Commented Oct 18, 2010 at 13:10
  • This issue was reported here: mercurial.selenic.com/bts/issue2866 Commented Jun 24, 2011 at 15:31

1 Answer 1

7

The four command line styles available are:

  • default
  • compact
  • changelog -- looks like a Gnu-style changelog file
  • xml -- provides log data as an XML structure

This is found by looking inside Mercurial's template's directory, which on my system ends up in usr/share/mercurial/templates but may differ on arch.

With mercurial 1.6.4 I do get color in glog but only if I"m using the default style. The compact style doesn't seem to have color codes.

Sign up to request clarification or add additional context in comments.

2 Comments

do you means that latest version has fix this problem?
No, I said that even in the latest version there's no color in the compact version of glog. If you want color use the default style.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.