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 54792

Summary: PVCS: Status is not updated after Add All.
Product: obsolete Reporter: Peter Pis <ppis>
Component: vcsgenericAssignee: Martin Entlicher <mentlicher>
Status: CLOSED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description Peter Pis 2005-02-10 07:30:17 UTC
>System Info:
  Product Version       = NetBeans IDE Dev (Build
200502081900)
  Operating System      = Windows XP version 5.1
running on x86
  Java; VM; Vendor      = 1.5.0_03-ea; Java
HotSpot(TM) Client VM 1.5.0_03-ea-b02; Sun
Microsystems
Inc.

Steps:
1. Register PVCS versoined directory and create a
project in project.
2. Switch to Files view, select project and invoke
"PVCS | Add All" action (Check "All
subdirectories") and push "OK" button.

Status changes only for project, but in case of
its subnodes statuses are [Local]. Refresh should
be performed.
Comment 1 Martin Entlicher 2005-02-10 10:04:04 UTC
Most likely a duplicate of issue #50211. It's some general problem
affecting all profiles.

*** This issue has been marked as a duplicate of 50211 ***
Comment 2 Martin Entlicher 2005-02-10 15:18:45 UTC
I was mistaken, this is a little different problem from issue #50211.
Reopening.
Comment 3 Martin Entlicher 2005-02-10 15:35:47 UTC
The problem is, that folder Refreshes are not executed, because they
are set to act just on versioned folders. This is O.K., but the
commands can not be executed.
Their execution needs to be postponed after the refreshed folder
becomes versioned. This was done so before the cache redesign and
probably was removed...
Comment 4 Martin Entlicher 2005-02-10 17:38:02 UTC
The post-command refreshes are synchronized:

/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/CommandExecutorSupport.java,v
 <--  CommandExecutorSupport.java
new revision: 1.73; previous revision: 1.72

/cvs/vcscore/src/org/netbeans/modules/vcscore/turbo/TurboUtil.java,v 
<--  TurboUtil.java
new revision: 1.11; previous revision: 1.10
Comment 5 Peter Pis 2005-02-11 09:09:11 UTC
Verified in 200502101900.