Bug 6346 - Problems with Patch
Summary: Problems with Patch
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 7494 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-27 09:24 EST by Nick Edgar CLA
Modified: 2002-02-12 09:53 EST (History)
1 user (show)

See Also:


Attachments
patch file called testxm~1.pat (4.61 KB, patch)
2001-11-27 09:25 EST, Nick Edgar CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.