mercurialhgrc

Mercurial built-in template style description


I am trying to tune the output of hg log by defining my own style. In fact, just adding information to the default style would be perfect. Is there a place where I can get the description of the default styles (default, compact, ...) to write my own?


Solution

  • After some research, I finally found the location of the default styles for hg log, located on my ubuntu 14.04 at

    /usr/share/mercurial/templates/
    

    You can find there the following files:

    map-cmdline.bisect
    map-cmdline.changelog
    map-cmdline.compact
    map-cmdline.default
    map-cmdline.phases
    map-cmdline.xml        
    

    They do not contain any color scheme, but they are allowed me to build my 'patched' version of default.