Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 75973 - [Undo] When patching source with external diff file the undo isn't available
[Undo] When patching source with external diff file the undo isn't available
Status: NEW
Product: utilities
Classification: Unclassified
Component: Diff
PC Linux
: P3 (vote)
: 6.x
Assigned To: Ondrej Vrabec
Depends on:
  Show dependency treegraph
Reported: 2006-05-05 09:58 UTC by Bernard Halas
Modified: 2014-06-05 12:15 UTC (History)
0 users

See Also:


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.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo