Bug 449138

Summary: Unable to apply patches generated by gendiff
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: eclipseAssignee: Andrew Overholt <overholt>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, oliver, overholt
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-04 20:01:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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