GNOME Bugzilla – Bug 572565
support viewing patch files
Last modified: 2013-07-03 16:35:06 UTC
As requested by http://mail.gnome.org/archives/meld-list/2007-March/msg00001.html allow meld to view diff between a patch file and a local copy of the original source code. I'm working on this vc/patch.py plugin
Should contact "Ferry Boender" <f.boender@electricmonk.nl> as he seemed interested in the feature...
Emailed Ferry, but he don't seem responsive...
Ferry will try the patch, which I'll attach here. Preliminary support. I would like to add a GUI chooser for the directory containing pristine source code to apply the patch to. I've already cut that patch into smaller, self-contained parts.
Created attachment 129816 [details] [review] add plugin to handle patch files
Created attachment 132623 [details] [review] New version, cleaner, rediffed against r1347 This new version is only lightly tested. But due to last batch of patches that went in, it is a lot cleaner than the previous one. To test, put a patch in the directory containing source files the patch should be applied to, and launch "meld test.patch"
Will this functionality be committed? Also, see bug 674557, that is related.
This won't be committed, no. It relies on a bunch of no-longer-existent code. Also, pretending that a patch was a VCS was always a hacky approach. I'm closing this in favour of bug 674557, which is somewhat more likely to produce a result. *** This bug has been marked as a duplicate of bug 674557 ***
Yeah, I also have given up on this, anyone willing to revive the thing is free to go, though...