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 148626 - localhistory:"revert deleted" doesn't work in c/c++
Summary: localhistory:"revert deleted" doesn't work in c/c++
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-29 14:56 UTC by ahot
Modified: 2014-04-14 14:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ahot 2008-09-29 14:56:29 UTC
- create Argument project
- delete args.c from project
- right click on project
- choose Local History/Revert Deleted
Result:
Comment 1 ahot 2008-09-29 14:57:34 UTC
Result:
  Nothing happens
---------------------------
This feature works in Java-Projects
Comment 2 Tomas Stupka 2009-12-02 03:52:15 UTC
not sure what the Argument project is but i did the following:

- created a c++ app
- created a new source file in it (under the "Source Files" node)
- removed that file 
- invoked "Revert deleted files" on project node -> the file was reverted, i could see it in the files view, but i wasn't able to see it in the project view

the revert of deleted files is done via the netbeans filessytem, so the IDE is aware of them in the instance they are created. Also the files view seems to know about the files and shows them correcly. For whatever reason - the projects view doesn't react to changes in the filestructure. 

one more odd thing - even removing a file (via a simple delete form the IDE) in the files view isn't reflected in the projects view - i guess thats connected to the reported problem 

reassigning for further evaluation. wasn't sure about the correct component
Comment 3 Tomas Stupka 2009-12-02 03:52:37 UTC
btw

Product Version         = NetBeans IDE Dev (Build 091130-96c71eb28fd8) (#96c71eb28fd8)
  Operating System        = Mac OS X version 10.5.8 running on x86_64
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) 64-Bit Server VM 14.1-b02-92; Apple Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_15-b03-226