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 50211 - ALL: After VCS actions file status is not refreshed.
Summary: ALL: After VCS actions file status is not refreshed.
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
: 51532 54362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-11 09:20 UTC by Pavel Rehak
Modified: 2006-03-24 09:43 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 Pavel Rehak 2004-10-11 09:20:27 UTC
Product Version       = NetBeans IDE Dev (Build
200410101800)
  Operating System      = Windows XP version 5.1
running on x86
  Java; VM; Vendor      = 1.5.0; Java HotSpot(TM)
Client VM 1.5.0-b64; Sun Microsystems Inc.
  Java Home             = C:\Program
Files\Java\jdk1.5.0\jre
---------------------------------
After VSS "Add All" command on non-empty [local]
directory in Work Area, all files and directories
are sucesfully added into VSS db, but command
Refresh/Refresh rec. is not run and thus all files
 remains [local] in Versioning view.
I must run "Refresh recur.".
Comment 1 Martin Entlicher 2004-10-14 17:27:50 UTC
Well, this works for me. Refresh Recursively is automatically executed
and the status information is correct after Add All. Do you have some
specific setup for which this does not work?
Comment 2 Pavel Rehak 2004-10-23 09:28:53 UTC
Doesn't work for me.
Installed Build 200410211800, used empty userdir + empty vss work dir.
Via Versioning Manager i mounted my VSS database into empty workdir
(with get latest version selected). Switched to files tab, created new
Project -> General -> Java Application (my_app).
my_app is expanded in Files tab with all nodes (but root) marked [Local].
then i run "VSS | Add all .. " on root node (my_app).
Closed information window.
(message Command Refresh Finished).
All files/nodes still have [Local] status.
(in versioning tab they have proper status, if i invoke "refresh" on
single file whole structure is synchronized and files get [Current]
status)
Comment 3 _ pkuzel 2005-01-21 10:49:30 UTC
I saw it yesterday. The refresh (LIST_FILE) command was run but with 
empty set of file arguments. 
Comment 4 _ pkuzel 2005-02-02 15:20:57 UTC
*** Issue 54362 has been marked as a duplicate of this issue. ***
Comment 5 Martin Entlicher 2005-02-10 09:59:42 UTC
Seems like some remaining problem from cache redesign according to
issue #51532.

It's likely a general problem, not just in VSS.
Comment 6 Martin Entlicher 2005-02-10 10:02:43 UTC
*** Issue 51532 has been marked as a duplicate of this issue. ***
Comment 7 Martin Entlicher 2005-02-10 10:04:03 UTC
*** Issue 54792 has been marked as a duplicate of this issue. ***
Comment 8 Martin Entlicher 2005-02-10 10:04:25 UTC
After the fix it must be verified for both VSS and PVCS integration.
Comment 9 Martin Entlicher 2005-02-10 15:16:54 UTC
The "refreshProcessedFiles" property was not really performing the
refresh, because VSS profile have disabled the file refresh on [Local]
files.

It has nothing to do with cache redesign.
Comment 10 Martin Entlicher 2005-02-10 15:26:41 UTC
Fixed in VSS:

/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vss.xml,v
 <--  vss.xml
new revision: 1.48; previous revision: 1.47

A detection mechanism for this kind of errors added:

/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/ExecuteCommand.java,v
 <--  ExecuteCommand.java
new revision: 1.88; previous revision: 1.87
Comment 11 Pavel Rehak 2005-04-08 12:55:06 UTC
Verified with RC1.