GNOME Bugzilla – Bug 674557
[PATCH] Patch mode
Last modified: 2017-12-13 19:00:05 UTC
The attached patch adds patch view mode to meld. Basic info about the new modules: 1) patchparser.py contains a simple unified format patch files parser 2) patcher.py applies patch file in memory and returns details results 3) patchview.py, patchdiff.py provide new UI to review patches To run meld in patch mode use the following command: meld --patch <file> [<dir>] 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
Created attachment 212533 [details] [review] Add patch mode
Any news about adding this functionality? Also, see bug 572565, that is related.
*** Bug 572565 has been marked as a duplicate of this bug. ***
Yeah I've dropped the ball on this, mostly due to the fact that I *really* don't want Meld to contain an implementation of patch. I'll try to find some time to review this sensibly and see whether there's a way forwards. I like the idea of the patch view mode, so it's just about how to actually accomplish something like this without complicating our UI.
I'd also love to see this (and would donate a few millibitcoins if it happens :)!
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/meld/issues/43.