|
Library for both parsing and applying patch files
Features:
- Parsing of almost all diff formats (except forwarded ed)
- normal (default, --normal)
- copied context (-c, --context)
- unified context (-u, --unified)
- ed script (-e, --ed)
- rcs ed script (-n, --rcs)
- Parsing of several SCM patches
- CVS
- SVN
- Git
https://github.com/cscorley/whatthepatch
This port is needed for the next update of textproc/py-python-lsp-server.
The patches in files are post-release additions from Github:
- #4b0d9ef70109 Fix unified diff parse error
- #700175dd2bf7 Support Python 3.9
|