https://github.com/junghans/cwdiff
A (w)diff wrapper to support directories and colorize the output
https://github.com/junghans/cwdiff
diff-wrapper mercurial
Last synced: about 1 year ago
JSON representation
A (w)diff wrapper to support directories and colorize the output
- Host: GitHub
- URL: https://github.com/junghans/cwdiff
- Owner: junghans
- Created: 2015-03-13T19:04:36.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T12:52:12.000Z (about 2 years ago)
- Last Synced: 2025-03-26T16:22:04.942Z (about 1 year ago)
- Topics: diff-wrapper, mercurial
- Language: Shell
- Size: 31.3 KB
- Stars: 24
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# (w)diff wrapper to support directories and colorize the output
## [Documentation](http://junghans.github.io/cwdiff/)
## Usage with mercurial
* add `cwdiff.rc` to your `~/.hgrc` or `/etc/mercurial/hgrc.d/`
or
* Download cwdiff
* Enable ExtdiffExtension (in `~/.hgrc`):
```
[extensions]
extdiff =
```
* Add wdiff command (in `~/.hgrc`):
```
[extdiff]
# if cwdiff is in your path, otherwise set to wherever you've installed cwdiff
cmd.wdiff = cwdiff
#add --no-color below, if you dislike colors!
opts.wdiff = --diff --ab
```
* Run
```
$ hg wdiff
```
## Packages
Packages are available for:
* [tarball](https://github.com/junghans/cwdiff/releases)
* [MacPorts](http://www.macports.org/ports.php?by=name&substr=cwdiff)
* [Arch Linux](https://aur.archlinux.org/packages/cwdiff)
* [NetBSD](http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/cwdiff/)
* [Gentoo Linux](http://packages.gentoo.org/package/dev-util/cwdiff)
## Issues
Report bugs on the [github issues site](https://github.com/junghans/cwdiff/issues)