mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 03:46:30 -04:00
Features: - 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 Things that don't work out of the box: - File renaming, creation and removal - Directory tree operations - Version control specific properties - Non-unified diff formats WWW: https://github.com/techtonik/python-patch PR: 229500 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc.
21 lines
590 B
Text
21 lines
590 B
Text
Python library to parse and apply unified diffs.
|
|
|
|
Features:
|
|
|
|
- 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
|
|
|
|
Things that don't work out of the box:
|
|
|
|
- File renaming, creation and removal
|
|
- Directory tree operations
|
|
- Version control specific properties
|
|
- Non-unified diff formats
|
|
|
|
WWW: https://github.com/techtonik/python-patch
|