Bug 449138 - Unable to apply patches generated by gendiff
Summary: Unable to apply patches generated by gendiff
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Andrew Overholt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-30 18:18 UTC by Jesse Keating
Modified: 2013-01-10 03:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-04 20:01:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Eclipse Project 235692 0 None None None Never

Description Jesse Keating 2008-05-30 18:18:34 UTC
I'm not able to use the team menu item to apply patches that were generated by
gendiff.  The problem is that gendiff references a source file that doesn't
exactly exist in the source tree.

When using gendiff, you copy the original source file(s) to the same name but
with a different extension, foo -> foo.jk.  Then you modify the original file,
and then you'd call 'gendiff path/ .jk' and it will diff all the files that end
with '.jk' against the original file names to generate a patch.  The patch winds
up referencing that source '.jk' file and comparing it to the actual file in
your project space.  Eclipse balks on this because it can't find the source
file.  Patch will happily apply it.

Comment 1 Andrew Overholt 2008-06-04 20:01:21 UTC
I filed this upstream as:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=235692


Note You need to log in before you can comment on or make changes to this bug.