Bug 6346

Summary: Problems with Patch
Product: [Eclipse Project] Platform Reporter: Nick Edgar <n.a.edgar>
Component: CompareAssignee: Andre Weinand <andre_weinand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: Tod_Creasey
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
patch file called testxm~1.pat none

Description Nick Edgar CLA 2001-11-27 09:24:09 EST
Build 20011122.

I did the following:
- load org.eclipse.ui.tests from main stream
- selected test.xml under project
- chose Compare With / Patch
- used file prompter to choose patch file (see attached)
- hit Next
- hit Finish
- it gave me an error dialog with no message; the tile was truncated: "C..."

I noticed that the first time I tried, the radio button for choosing a file 
instead of the clipboard had not been selected.
I tried it again.  This time it had remembered my patch file, so the radio 
button was already selected.
But it gave me the same error the second time.
Comment 1 Nick Edgar CLA 2001-11-27 09:25:51 EST
Created attachment 143 [details]
patch file called testxm~1.pat
Comment 2 Andre Weinand CLA 2002-01-21 12:06:05 EST
3 problems:
a) radio button not selected initally
b) the patch file contains a reversed patch,
   but 'patch' has no option to apply a patch reversed
c) the error dialog is boken.
Comment 3 Andre Weinand CLA 2002-01-23 04:53:28 EST
*** Bug 7494 has been marked as a duplicate of this bug. ***
Comment 4 Andre Weinand CLA 2002-02-12 09:53:14 EST
added reverse option
fixed various problems in > 20020205.