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
5.x
PC Linux
: P3 (vote)
: 6.x
Assigned To: Tomas Stupka
diff-issues@utilities
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-05 09:58 UTC by Bernard Halas
Modified: 2010-10-07 15:17 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

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. "A.java")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----------
A

--------end of the file----------------
2) create a file named patch.diff with this content:
--------beginning of the file----------
1c1
< 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. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo