[cvsnt] Update problem
lists at connectionbrazil.com
Fri Aug 10 03:38:27 BST 2007
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
>>> My server is windows2003 and a i use wincvs 188.8.131.52 (build 1) with
>> 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
> 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
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.
More information about the cvsnt