Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
colorize your hg output <3
[extensions]
# enable color extension
color =
# enable extdiff extension (Extended Diff)
hgext.extdiff =
[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
@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Oct 14, 2015

Cool stuff man, thanks for sharing! :)

@valentecaio

This comment has been minimized.

Copy link

@valentecaio valentecaio commented Apr 22, 2016

thank you!

@atsundwn

This comment has been minimized.

Copy link

@atsundwn atsundwn commented May 4, 2016

Exactly what I was looking for. Thanks.

@alveflo

This comment has been minimized.

Copy link

@alveflo alveflo commented Sep 1, 2016

Sweet, thanks dude!

@anilwakade

This comment has been minimized.

Copy link

@anilwakade anilwakade commented Jan 24, 2017

Cool, Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.