IIRC even doing this will not solve the problem. Try to do this manually and
see what happens. As far as I remember CVS will get extremely confused
because it still has the removed file in CVS/Entries. My experience was that
to completely solve the problem you have to remove and re-checkout the
entire directory. I do not think you want Idea to do it for you
automatically :-) The right solution would be (IMO) to detect such a
situation and give a warning and not allow user to do this.

--
fedor.

----
Beware of self-styled experts: an ex is a has-been, and a spurt is a
drip under pressure.


> -----Original Message-----
> From: Marc Wirth [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 18, 2002 7:04 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] 544: cvs rename bug on windows THAT 
> CAUSES WORK
> TO GET LOST
> 
> 
> >  > How about Idea doing the double renaming internally, 
> i.e. at least
> >>  storing the file temporarily under a different name if old and new
> >>  name are equalIgnoreCase()?
> >>
> >
> >I'd prefer to be informed of all cvs operations.
> >The dialog is better for me.
> >
> >Edo
> 
> Sorry, I didn't mean that the dialogs shouldn't appear. What 
> I meant is:
> 
> Current situation as I understand it:
> 1. Idea copies the file to a new file using the new (potentially 
> equal) filename
> 2. Idea CVS-removes the old one (with dialog), which deletes the copy 
> on case-insensitive file systems
> 3. Idea tries to CVS-add a file that has been removed in step 2.
> 
> My suggestions:
> 
> 1. If the new name is equal except for case, copy the file to a new 
> file using a temporary filename
> 2. CVS-remove the old one, with dialog
> 3. rename the temporary file to the name the user entered
> 4. CVS-add the new file, with dialog and all.
> 
> Regards,
> Marc Wirth
> 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to