[BZ#674557] [PATCH] Patch mode
Submitted by Piotr Piastucki
Link to original bug (#674557)
Description
The attached patch adds patch view mode to meld.
Basic info about the new modules:
- patchparser.py contains a simple unified format patch files parser
- patcher.py applies patch file in memory and returns details results
- patchview.py, patchdiff.py provide new UI to review patches
To run meld in patch mode use the following command: meld --patch []
file - patch file, currently unified format patches are accepted dir argument is optional, current directory will be used when omitted
Additional UI is provided to review and inspect patch files. Each file and each individual hunk affected by the patch file is shown in a tree view. If present, git commit message will be shown above the tree view. Quick diff is shown at the bottom.
More information and some screenshots can be found here - http://piastucki.bdl.pl/meld/patch/
Regards, Piotr