[cvsnt] Update problem

Gerhard Fiedler lists at connectionbrazil.com
Fri Aug 10 03:38:27 BST 2007


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Cintia Buarque wrote:

>>> when i try to update a file cvs returns the message: cvs [update
>>> aborted]: cannot rename file _new_fileXXX.pas to fileXXX.pas: File
>>> exists 
>>> 
>>> My server is windows2003 and a i use wincvs 2.0.9.1 (build 1) with
>>> WinXP

>> Someone added a new file "fileXXX.pas", which is also copied onto your
>> system. You should rename your local version of fileXXX.pas to eg
>> fileXXX-local.pas, do a cvs update, compare the 2 files, and eventually
>> merge your local changes into the cvs-version and commit the file
>> again.

> Ok. But if select option "Get Clean Copy"  CVS must be replace my local
> file. am I right ? 

Not really, AFAIK. I think even the get clean copy option only replaces
files that are under cvsnt control. Dries was talking about a file that is
not under cvsnt control (in your sandbox).

> I have a lot of files in my repository and many developers work together
> so i cant delete files everytime :((( 

How did that offending file get there in the first place (before the
update)? When you get that error, what does "cvs stat <filename>" say? (It
tells you whether the file is under cvsnt control or not, among other
things.)

If the file is under cvsnt control, the error shouldn't happen. If it is
not, there is probably a problem in how you are using cvsnt.

Gerhard


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook