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 93001 - Revert of deleted files doesn't work.
Summary: Revert of deleted files doesn't work.
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Localhistory (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-23 08:57 UTC by Peter Pis
Modified: 2007-02-16 10:17 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 Peter Pis 2007-01-23 08:57:45 UTC
NB 20070122, jdk1.5.0_11

Steps:
1. Open project.
2. Modify and save file.
3. Delete this file.
4. Select parent folder of this file and invoke "Local History | Revert Deleted".

File is not reverted.
Comment 1 Tomas Stupka 2007-01-23 15:51:12 UTC
fixed

Checking in src/org/netbeans/modules/localhistory/LocalHistoryVCSInterceptor.java;
/cvs/versioncontrol/localhistory/src/org/netbeans/modules/localhistory/LocalHistoryVCSInterceptor.java,v
 <--  LocalHistoryVCSInterceptor.java
new revision: 1.3; previous revision: 1.2
done
Comment 2 Peter Pis 2007-01-26 13:29:49 UTC
Verified.
Comment 3 Peter Pis 2007-02-02 08:31:00 UTC
Reopen. Happens again in:

NetBeans IDE Dev (Build 200702011900)
1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Comment 4 Tomas Stupka 2007-02-07 14:01:58 UTC
could not reproduce so probably got fixed in the last days
Comment 5 Peter Pis 2007-02-12 09:51:12 UTC
Reopen. 

NetBeans IDE Dev (Build 200702111900)
1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252
Comment 6 Peter Pis 2007-02-12 10:16:07 UTC
There is an output:
SEVERE [null]: getCanonicalFile() on file
D:\SunWork\test\localhistory\JavaAppLH\src\javaapplh\Main.java failed.
java.io.IOException: The process cann
ot access the file because it is being used by another process
WARNING [null]: Warning -
org.netbeans.modules.localhistory.ui.revert.RevertToAction should override
CallableSystemAction.asynchronous() to return false
Comment 7 Tomas Stupka 2007-02-12 12:22:30 UTC
P1 again - this happens every time on windows
Comment 8 Tomas Stupka 2007-02-13 09:37:12 UTC
fixed

Checking in LocalHistoryStoreImpl.java;
/cvs/versioncontrol/localhistory/src/org/netbeans/modules/localhistory/store/LocalHistoryStoreImpl.java,v
 <--  LocalHistoryStoreImpl.java
new revision: 1.10; previous revision: 1.9
done
Comment 9 Peter Pis 2007-02-16 10:17:04 UTC
Verified.