Created
August 12, 2011 05:20
-
-
Save makeramen/1141508 to your computer and use it in GitHub Desktop.
Mercurial logging was not very pretty, so this is my custom mercurial style made to be similar to my git alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
changeset = '\t\033[0;31m{rev}\033[0m: \033[0;33m{bookmarks}{tags}\033[0m{desc|firstline|strip} - \033[0;36m{author|person} \033[0;32m({date|age}) \033[1;39m{tags}\033[0m\n' | |
changeset_quiet = '{rev}:{node|short}\n' | |
changeset_verbose = '{rev}{tags}{parents} {node|short} {date|isodate} author}\n {desc|strip}\n\n' | |
start_tags = '[' | |
tag = '{tag},' | |
last_tag = '{tag}] ' | |
start_parents = ':' | |
parent = '{rev},' | |
last_parent = '{rev}' | |
start_bookmarks = '(' | |
bookmark = '{bookmark},' | |
last_bookmark = '{bookmark}) ' |
for more information on mercurial templates and styles: http://hgbook.red-bean.com/read/customizing-the-output-of-mercurial.html#id417618
Also, the color escapes are for UNIX based machines only. I would love it if someone would help with something for Windows.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
my git alias that this is based off of is as follows: