545
Comment:
|
593
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Making a word difference using the ExtdiffExtension and GNU wdiff. | Making a word difference using the ExtdiffExtension and GNU wdiff, somehow what {{{git diff --color-words}}} does. |
Making a word difference using the ExtdiffExtension and GNU wdiff, somehow what git diff --color-words does.
Steps:
Download cwdiff, a shell script, which wraps wdiff to support directories and colorizes the output.
Enable ExtdiffExtension (in ~/.hgrc):
[extensions] hgext.extdiff =
- Add wdiff command (in ~/.hgrc):
[extdiff] cmd.wdiff = wdiff #add --no-color below, if you dislike colors! opts.wdiff = --diff --ab
- Run
$ hg wdiff