This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 24782 - "Apply Patch" action does not work.
Summary: "Apply Patch" action does not work.
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-14 16:05 UTC by Jiri Kovalsky
Modified: 2003-06-30 17:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Localized exception about impossibility to apply a patch. (1.21 KB, text/plain)
2002-06-14 16:06 UTC, Jiri Kovalsky
Details
Mentioned patch file. (351 bytes, patch)
2002-06-14 16:07 UTC, Jiri Kovalsky
Details | Diff
The file I wanted to patch. (245 bytes, text/plain)
2002-06-14 16:08 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2002-06-14 16:05:07 UTC
Development build #200206140100 of NetBeans 3.4
Windows 2000 with JDK 1.4.1 beta build #12

Description:
============
"Apply Patch" action always throws localized
exception that the patch is not applicable. Please
take a look at the patch and patched file.

Steps to reproduce:
===================
1. Mount CVS filesystem and change some
[Up-to-date] file.
2. "CVS|Diff Textual" it and save the output to file.
3. Delete the file and "Update" it back.
4. Invoke "Tools|Apply Patch"and point to the patch. 
5. Push "Patch" button and the exception is thrown.
Comment 1 Jiri Kovalsky 2002-06-14 16:06:47 UTC
Created attachment 6264 [details]
Localized exception about impossibility to apply a patch.
Comment 2 Jiri Kovalsky 2002-06-14 16:07:51 UTC
Created attachment 6265 [details]
Mentioned patch file.
Comment 3 Jiri Kovalsky 2002-06-14 16:08:48 UTC
Created attachment 6266 [details]
The file I wanted to patch.
Comment 4 Martin Entlicher 2002-06-17 17:53:06 UTC
Might be caused by different line endings on Windows.
Starting to work on it...
Comment 5 Martin Entlicher 2002-06-18 13:01:45 UTC
Fixed in dev build Jun 19.
Comment 6 Jiri Kovalsky 2002-06-19 16:23:08 UTC
Verified in development build #200206190100 of NetBeans 3.4.
Comment 7 Quality Engineering 2003-06-30 17:41:17 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.