Pull requests

#2 Open
Repository
sjl sjl
Branch
default
Repository
brodie brodie
Branch
default

Quick hack to colorize diffs

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update default
hg pull -r default https://bitbucket.org/sjl/cram
hg merge 8fc2f25d0cce
hg commit -m 'Merged in sjl/cram (pull request #2)'
Author
  1. Steve Losh
Reviewers
Description

I added a small hack that uses tput to colorize diffs in cram's output if you use the --color option. Previously I was using | pygmentize -l diff but that was a pain in the ass to type, plus it didn't work with interactive mode.

Feel free to not take this if you don't like using tput to add the colors.

Comments (0)