cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 108288 - Status not updated after reverting a deletion
: Status not updated after reverting a deletion
Status: RESOLVED FIXED
: versioncontrol
Mercurial
: 6.1
: Sun All
: P3 (vote)
: 6.1
Assigned To:
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-06-27 14:22 by
Modified: 2008-02-07 15:18 (History)
Issue Type: DEFECT
:


Attachments
proposed patch (1.07 KB, patch)
2008-02-07 14:46, Padraig Obriain
Details | Diff
additional patch (868 bytes, patch)
2008-02-07 15:17, Padraig Obriain
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-06-27 14:22:25
At project node, choose Revert Modifications and choose a changeset before a
file was created. 
This will cause this file to be Locally Removed. It disappears from the prject
view but is listed in Status output.
In Status window, right click on the file and invoke "Revert "Delete".
The file reappears in the project view but it status remain as "Locally
Removed".
------- Comment #1 From 2007-06-27 15:29:46 -------
This is working correctly for me now. 
------- Comment #2 From 2008-02-05 14:19:59 -------
I can reproduce described behavior very easily. After Revert Modifications,
deleted files are not displayed in Status
window until I invoke Refresh status. And after Revert Deleted or Revert
Modifications to the latest revision, those
files are still in the Status Window until I invoke Refresh Status again.

Product Version: NetBeans IDE Dev (Build 200802040003)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows Vista version 6.0 running on x86; Cp1252; en_GB (nb)
------- Comment #3 From 2008-02-07 14:24:02 -------
This regression is caused by the change made for issue 123593. When I revert
that change this problem no longer occurs.
------- Comment #4 From 2008-02-07 14:46:22 -------
Created an attachment (id=56250) [details]
proposed patch
------- Comment #5 From 2008-02-07 14:48:28 -------
changeset:   66304:a4c1c81ea65b
tag:         tip
user:        padraigob@netbeans.org
date:        Thu Feb 07 14:45:37 2008 +0000
files:      
mercurial/src/org/netbeans/modules/mercurial/ui/update/RevertModificationsAction.java
description:
108288: Undo change for issue #123593 as it causes this problem
------- Comment #6 From 2008-02-07 15:17:35 -------
Created an attachment (id=56257) [details]
additional patch
------- Comment #7 From 2008-02-07 15:18:15 -------
changeset:   66343:7bb816d29ca0
tag:         tip
user:        padraigob@netbeans.org
date:        Thu Feb 07 15:15:10 2008 +0000
files:      
mercurial/src/org/netbeans/modules/mercurial/ui/update/RevertModificationsAction.java
description:
108288: Fix typo in last commit