Skip to content

Instantly share code, notes, and snippets.

@GEverding
Created November 12, 2014 21:09
Show Gist options
  • Save GEverding/1673273d3fd50a45cc2c to your computer and use it in GitHub Desktop.
Save GEverding/1673273d3fd50a45cc2c to your computer and use it in GitHub Desktop.
hg config
[ui]
username = Garrett Everding
[extensions]
# enable color extension
color =
# enable extdiff extension (Extended Diff)
hgext.extdiff =
purge =
graphlog =
shelve=
[extdiff]
# configure extended diff to use colordiff (requires colordiff installed in your system)
cmd.cdiff = colordiff
opts.cdiff = -uprN
[color]
# configure colors for each possible hg status
status.modified = blue bold
status.added = green bold
status.removed = red bold
status.deleted = cyan bold
status.unknown = magenta bold
status.ignored = white bold
# and for hg diff output also
diff.diffline = bold
diff.extended = cyan bold
diff.file_a = red bold
diff.file_b = green bold
diff.hunk = magenta
diff.deleted = red
diff.inserted = green
diff.changed = white
diff.trailingwhitespace = bold red_background
[defaults]
# suppress noisy extdiff header message
cdiff = -q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment