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 127273

Summary: unconsistent status annotation after rollback
Product: versioncontrol Reporter: Tomas Stupka <tstupka>
Component: MercurialAssignee: issues@versioncontrol <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot
proposed patch

Description Tomas Stupka 2008-02-13 10:16:45 UTC
1.) change a file and commit
2.) rollback the repository and choose no in the confirm rollback update dialog

the status view shows the file like locally modified (according to the output from the hg client) but it has no status
coloring etc. in the projects and favorites view. see attached screenshot.
Comment 1 Tomas Stupka 2008-02-13 10:17:29 UTC
Created attachment 56582 [details]
screenshot
Comment 2 Padraig Obriain 2008-02-13 11:48:57 UTC
I had the Status window open when doing the rollback and the file was only added to the Status window when I clicked the
Refresh Status button.
Comment 3 Padraig Obriain 2008-02-13 13:52:11 UTC
Created attachment 56600 [details]
proposed patch
Comment 4 Padraig Obriain 2008-02-13 13:58:20 UTC
changeset:   67265:9c12ebb86fd9
tag:         tip
user:        padraigob@netbeans.org
date:        Wed Feb 13 13:51:02 2008 +0000
files:       mercurial/src/org/netbeans/modules/mercurial/ui/rollback/RollbackAction.java
description:
127273: Refresh status after rollback even if working directory has not been updated