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 158071 - RFE: Generating diff files
RFE: Generating diff files
Status: VERIFIED FIXED
Product: meld
Classification: Other
Component: general
0.9.x
Other Linux
: Low enhancement
: ---
Assigned To: Stephen Kennedy
Stephen Kennedy
Depends on:
Blocks:
 
 
Reported: 2004-11-12 17:40 UTC by Alexey Rusakov
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Makes the patch preview editable (1.70 KB, patch)
2005-06-04 23:05 UTC, Alexey Rusakov
none Details | Review

Description Alexey Rusakov 2004-11-12 17:40:01 UTC
I'd love to have 'Generate a diff file' action in the main menu (File?) and
optionally in the context menu for files. For the start, I believe, it is enough
to support unified diff format only.
Comment 1 Stephen Kennedy 2005-06-01 18:51:38 UTC
I've added a basic "make patch" action to the context menu of the file diff.

It's probably too much effort to add it to the menus however (as the 0.9.x
branch is pre uimanager). I'll add the menu items when it is ported to the
head.
Comment 2 Alexey Rusakov 2005-06-04 09:01:33 UTC
Looks nice, thanks. Could you update the pot-file in CVS?
Comment 3 Alexey Rusakov 2005-06-04 22:57:24 UTC
After I started really using this feature, I have stumbled upon one trouble. The
generated patch mentions full paths of files. This causes 'patch' command to ask
for names of files to patch. I'm not sure about how to solve this; "the least
effort" solution could be simply to allow editing of a generated patch
(currently one can only view it before copying to clipboard or saving). I'll
submit a patch to Meld-0.9 in several minutes.
Comment 4 Alexey Rusakov 2005-06-04 23:05:22 UTC
Created attachment 47246 [details] [review]
Makes the patch preview editable
Comment 5 Stephen Kennedy 2006-06-13 22:02:23 UTC
I've applied this and make better initial names.
(removing the common prefix)
Comment 6 Alexey Rusakov 2006-06-14 21:24:30 UTC
Superb. When testing, I've got another idea about patch preview, see bug 344917.
Comment 7 Stephen Kennedy 2006-11-19 11:06:19 UTC
Batch close of old bugs.