From ac818b091eb0d2992722083503a5c78fc80f34d2 Mon Sep 17 00:00:00 2001 From: Andre Barboza Date: Tue, 9 Aug 2016 16:05:03 +0100 Subject: python/python-patch: Added (library to parse+apply unified diffs). Signed-off-by: David Spencer --- python/python-patch/README | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 python/python-patch/README (limited to 'python/python-patch/README') diff --git a/python/python-patch/README b/python/python-patch/README new file mode 100644 index 0000000000..c16a8c4059 --- /dev/null +++ b/python/python-patch/README @@ -0,0 +1,17 @@ +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 -- cgit v1.2.3