Skip to content

Instantly share code, notes, and snippets.

@ei-grad
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ei-grad/9f4acd1fc1f4b8f5302a to your computer and use it in GitHub Desktop.
Save ei-grad/9f4acd1fc1f4b8f5302a to your computer and use it in GitHub Desktop.
hgrc
[ui]
username = Andrew Grigorev <andrew@ei-grad.ru>
[extensions]
color =
pager =
[alias]
lol = log -G --template '{label("log.changeset", "{node|short}")} {desc|firstline}'
lg = log --patch --template '{label("log.changeset", "{node}")}\n{label("log.author", "Author: {author}")}\n{label("log.date", "Date: {date|date}\n\t{firstline}")}\n'
[pager]
attend = lg, lol
[color]
mode = ansi
status.modified = yellow
status.added = green
status.removed = red
status.deleted = red
status.unknown = white
status.ignored = white
diff.diffline = bold
diff.extended = cyan bold
diff.file_a = bold
diff.file_b = bold
diff.hunk = cyan
diff.deleted = red
diff.inserted = green
diff.changed = white
diff.trailingwhitespace = bold red_background
# vim: set tw=0:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment