You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
B. Watson 8ac51dde78
python/python-patch: Fix README.
9 years ago
..
README python/python-patch: Fix README. 9 years ago
python-patch.SlackBuild python/python-patch: Added (library to parse+apply unified diffs). 9 years ago
python-patch.info python/python-patch: Added (library to parse+apply unified diffs). 9 years ago
setup.py python/python-patch: Added (library to parse+apply unified diffs). 9 years ago
slack-desc python/python-patch: Added (library to parse+apply unified diffs). 9 years ago

README

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