⇤ ← Revision 1 as of 2010-08-04 14:25:56
473
Comment:
|
545
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
1. Download [[http://code.google.com/p/cj-overlay/source/browse/cwdiff?repo=evergreens|cwdiff]], a shell script, which colorizes wdiff output 2. Enable ExtdiffExtension |
1. Download [[http://code.google.com/p/cj-overlay/source/browse/cwdiff?repo=evergreens|cwdiff]], a shell script, which wraps wdiff to support directories and colorizes the output. 2. Enable ExtdiffExtension (in ~/.hgrc): |
Line 11: | Line 11: |
3.#3 Add wdiff to | 3.#3 Add wdiff command (in ~/.hgrc): |
Making a word difference using the ExtdiffExtension and GNU wdiff.
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