Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 109915

Summary: [Repo View] Enabling working set in CVS perspective breaks CVS functions
Product: [Eclipse Project] Platform Reporter: Barys Dubauski <dubauski_psl>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P5 CC: pawel.pogorzelski1
Version: 3.1Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Barys Dubauski CLA 2005-09-19 14:39:30 EDT
1. Create a working set 'WS1' in your Java perspective that includes a subset 
of your java projects.
2. Connect to a couple repositories 
3. Select "WS1" in your CVS perspective.

PROBLEMS:
P1. Try to expand your HEAD node. Result => empty
P2. Try to import a psf file which refers to one of the repositories. Result 
=> Nothing gets imported.

Overall it seems wrong that CVS functionality is affected by a mere view 
filter when it comes to using working sets in CVS perspective.


NOTE. Developers who don't know the real problem will be left no choice but to 
wipe out the whole workspace to overcome this issue. For big projects this 
will prove to be time consuming.
Comment 1 Michael Valenta CLA 2005-09-20 11:12:50 EDT
P1 is working as designed (i.e. only folders that match the current working 
set are shown). I would agree that we need a stronger indication that a 
working set is on and is hiding things from the user.

As for P2, this works for me. That is, the import is unaffected by the active 
working set. Could it be that some other problem has caused the import to 
fail? Is there anything in your error log?
Comment 2 Barys Dubauski CLA 2005-09-20 14:48:07 EDT
[Michael, I could find no relevant messages in log file]

I'd like to clarify P2. If your PSF file has entries that point to projects in 
CVS repository then nothing really gets pulled from repository once "WS1" is 
applied in "CVS repository" view. I can see messages like "fetching 
children..." but no actual update and download is happening.

Real test should be performed using live repository and doing some real 
changes in files and try to import PSF or get updates.

Comment 3 Michael Valenta CLA 2005-09-20 15:15:14 EDT
I'm not sure what you mean exactly by your last sentence. What I did was turn 
on a working set in the repositories view and then performed an import team 
project set which proceeded to load several projects into the local workspace. 
If this is working for you, could you please include the specific steps you 
did in order to produce the problem.
Comment 4 Pawel Pogorzelski CLA 2009-05-08 05:33:00 EDT
Barys, I tried to reproduce the problem using 3.5 M7 with no success. 

Considering the above, the only thing to do on this bug is an indication that Michael suggested in comment 1. There is a separate report for the issue, see bug 30242.

Marking as WORKSFORME, please reopen if you have more detailed steps.