After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572565 - support viewing patch files
support viewing patch files
Status: RESOLVED DUPLICATE of bug 674557
Product: meld
Classification: Other
Component: version
git master
Other All
: Normal enhancement
: ---
Assigned To: meld-maint
Stephen Kennedy
Depends on:
Blocks:
 
 
Reported: 2009-02-20 15:08 UTC by Vincent Legoll
Modified: 2013-07-03 16:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add plugin to handle patch files (7.90 KB, patch)
2009-03-01 23:48 UTC, Vincent Legoll
none Details | Review
New version, cleaner, rediffed against r1347 (3.88 KB, patch)
2009-04-14 00:08 UTC, Vincent Legoll
needs-work Details | Review

Description Vincent Legoll 2009-02-20 15:08:14 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
Comment 1 Vincent Legoll 2009-02-20 15:12:49 UTC
Should contact "Ferry Boender" <f.boender@electricmonk.nl>
as he seemed interested in the feature...
Comment 2 Vincent Legoll 2009-02-25 01:00:53 UTC
Emailed Ferry, but he don't seem responsive...
Comment 3 Vincent Legoll 2009-03-01 23:47:58 UTC
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.
Comment 4 Vincent Legoll 2009-03-01 23:48:44 UTC
Created attachment 129816 [details] [review]
add plugin to handle patch files
Comment 5 Vincent Legoll 2009-04-14 00:08:47 UTC
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"
Comment 6 Jean-Philippe Fleury 2013-07-02 05:53:34 UTC
Will this functionality be committed?

Also, see bug 674557, that is related.
Comment 7 Kai Willadsen 2013-07-02 21:05:50 UTC
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 ***
Comment 8 Vincent Legoll 2013-07-03 16:30:24 UTC
Yeah, I also have given up on this, anyone willing to revive the thing is free to go, though...