Bug 21001 - [CVS Core] Could not delete project after replace fails
Summary: [CVS Core] Could not delete project after replace fails
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Michael Valenta CLA
QA Contact:
URL:
Whiteboard:
Keywords: readme
: 23827 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-26 08:21 EDT by Michael Valenta CLA
Modified: 2002-09-26 09:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2002-06-26 08:21:26 EDT
Here's the scenario:
1. There are incomming deletions for one or more files and incoming additions 
for files of the same name with a different case
2. Update fails because of the ordering of files received from the server 
(should see how NT command line handles this)
3. Replace on the project will also fail (as it uses update)
4. Could not delete the project shortly after 3. Could after more of a wait

The bug is in line 4. It is likely that a file was left open. We shoulf also 
see if there is soemthig we can do for line 2.
Comment 1 Michael Valenta CLA 2002-09-03 15:21:59 EDT
I have been unable to reproduce the error in step 4. An inspection of the code 
involved revealed that trying to create a file that has a case variant does not 
open the target file. A vulnerability was found in the code that sends files to 
the server but it is unlikely that this played a role in this scenario (the 
problem is now fixed).

Also, the update in the sync view has been modified to perform deletions first, 
thus allowing this operation to succeed.

Fix released to HEAD
Comment 2 Michael Valenta CLA 2002-09-18 15:46:52 EDT
Doing the deletions first caused a problem that was revealed in bug 23634. We 
can still do the deletions first but it needs to be done using "cvs update".
Comment 3 Michael Valenta CLA 2002-09-20 09:06:26 EDT
*** Bug 23827 has been marked as a duplicate of this bug. ***
Comment 4 Michael Valenta CLA 2002-09-26 09:31:37 EDT
Fix releaed to HEAD