mercurial graphlog颜色和样式

gui*_* 桂林 4 mercurial

我的hgrc:

[ui]
style=compact

[extensions]
graphlog=
color=
Run Code Online (Sandbox Code Playgroud)

但是gg glog没有颜色.而且,hg日志有多少样式,帮助,man无法获取任何信息.

Ry4*_*ase 7

可用的四种命令行样式是:

  • 默认
  • 紧凑
  • changelog - 看起来像一个Gnu风格的changelog文件
  • xml - 将日志数据提供为XML结构

这是通过查看Mercurial的模板目录找到的,该目录在我的系统上最终在usr/share/mercurial/templates中但在arch上可能有所不同.

使用mercurial 1.6.4我确实得到了颜色,glog但只有在我使用默认样式时.compact样式似乎没有颜色代码.