Title: Message
Edo, this is actually a very good idea.
BTW, the same problem is/would be with Perforce...
 
r.
-----Original Message-----
From: Edoardo Comar [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 5:02 AM
To: [EMAIL PROTECTED]
Subject: RE: [Eap-list] 544: cvs rename bug on windows THAT CAUSES WORK TO GET LOST

Of course the problem is due to working on a sh*** case-insensitive filesystem.
certainly the duoble renaming is a good workaround, but I may forget about it.
 
what about IDEA producing (windows-only) a warning dialog when one attempts to rename a file under cvs with just a case change and suggesting the double renaming ?
 
Edo
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Eugene Zhuravlev
Sent: 18 January 2002 08:32
To: [EMAIL PROTECTED]
Subject: Re: [Eap-list] 544: cvs rename bug on windows THAT CAUSES WORK TO GET LOST

Hi Edo,
 
This is because "Foobar" and "FooBar" are the same from the windows cvs client's point of view.  When the file is renamed and you are prompted to remove "Foobar" (while you already have "FooBar" on the disk) the cvs.exe complains that the file cannot be removed because it is not physically removed.
The file lost happens when you check the "Delete file before removing" flag. The "Cvs Remove" operation is invoked after the file has been renamed to "FooBar"; CVS removes this new version, and then complains that it has nothing to add.
So I wouldn't qualify this behaviour as a bug, but rather a problem that exsists because of using CVS on a case-insensitive system. The workaround is to rename "Foobar" to "Foobar1" first and then "Foobar1" to "FooBar".
Can you suggest any solutions to this problem?
 
Best regards,
Eugene Zhuravlev
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure!"
----- Original Message -----
Sent: 17 January, 2002 7:13 PM
Subject: [Eap-list] 544: cvs rename bug on windows THAT CAUSES WORK TO GET LOST

create a new class (e.g." Foobar"), add it to cvs
do not commit
work on it, saving but never commit
rename the class just by changing the case (e.g. "FooBar") -> the file is gone, forever!
 
(on windows, obviously ...)
 
Edo
 
---
Edoardo Comar
Cape Clear Software
Building 3, Chiswick Park,
566 Chiswick High Road,
London W4 5YA, United Kingdom
phone: +44 20 8899 6020 | fax: +44 20 8899 6156  | Direct: +44 20 8899 6564
[EMAIL PROTECTED]  http://www.capeclear.com
 
 
 

Reply via email to