Skip to content

Instantly share code, notes, and snippets.

@tkfm-yamaguchi
Created July 8, 2013 05:32
Show Gist options
  • Save tkfm-yamaguchi/5946421 to your computer and use it in GitHub Desktop.
Save tkfm-yamaguchi/5946421 to your computer and use it in GitHub Desktop.
[ui]
username = ""
verbose = True
[defaults]
glog = --color always
[pager]
pager = LESS='FSRX' less
#ignore = version, help, update, serve, record
[extensions]
color =
graphlog =
highlight =
mq =
rebase =
hgext.fetch =
pager =
[color]
status.modified = cyan
status.added = green
status.removed = red
status.deleted = yellow bold underline
status.unknown = magenta bold underline
status.ignored = black bold
diff.diffline = none
diff.extended = cyan
diff.file_a = red
diff.file_b = green
diff.hunk = yellow bold
diff.deleted = red
diff.inserted = green
diff.changed = white
diff.trailingwhitespace = white_background
[alias]
# colored template could not use at 2.2.2.
# hist = glog --pager always --color always --template '{rev}:{node|short}\n{tags}\n{desc|firstline|fill68|tabindent|tabindent}\n\n'
hist = glog --pager always --color always --template '\033[0;33m{rev}\033[0m: \033[0;36m{node|short}\033[0m(\033[0;32m{branch}\033[0m){if(tags, "\033[0;31m {tags}\033[0m")} {desc|firstline|fill68|tabindent|tabindent}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment