blob: e9f4d2753f29ecb835d8eddbe601aa747bd7c802 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Library to parse and apply unified diffs.
Features:
* Python 2 and 3 compatible
* Automatic correction of
- Linefeeds according to patched file
- Diffs broken by stripping trailing whitespace
- a/ and b/ prefixes
* Single file, which is a command line tool and a library
* No dependencies outside Python stdlib
* Patch format detection (SVN, HG, GIT)
* Nice diffstat histogram
* Linux / Windows / OS X
* Test coverage
|