Skip to content

Instantly share code, notes, and snippets.

@makeramen
Created August 12, 2011 05:20
Show Gist options
  • Save makeramen/1141508 to your computer and use it in GitHub Desktop.
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
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}) '
@vinc3m1
Copy link

vinc3m1 commented Aug 12, 2011

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