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 75973 - [Undo] When patching source with external diff file the undo isn't available
Summary: [Undo] When patching source with external diff file the undo isn't available
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Ondrej Vrabec
Depends on:
Reported: 2006-05-05 09:58 UTC by Bernard Halas
Modified: 2014-06-05 12:15 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Halas 2006-05-05 09:58:26 UTC
Steps to reproduce:
1) create a file in project (i. e. "")with just one symbol: "A" and left a
new line at the end of the file. the file will look like this:
--------beginning of the file----------

--------end of the file----------------
2) create a file named patch.diff with this content:
--------beginning of the file----------
< A
> B
--------end of the file----------------
3) in the project tree view right click on the file and select "Tools" -> "Apply
Diff Patch"
4) select file patch.diff that you've created in previous steps
5) select "No"
6) the patch will change symbol "A" to symbol "B" in the source file
Problem: the "Undo function" isn't available to undo patching.
Comment 1 Maros Sandor 2007-01-09 16:36:08 UTC
Patching in undoable now, I consider this to be an RFE.
Comment 2 Maros Sandor 2008-04-08 13:11:05 UTC
It would be nice to have Undo available. In the meantime, please use Local History feature to rollback patched files to
their original state.