guilin 桂林
guilin 桂林

Reputation: 17422

mercurial graphlog color and style

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.

Upvotes: 4

Views: 2629

Answers (1)

Ry4an Brase
Ry4an Brase

Reputation: 78350

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.

Upvotes: 7

Related Questions