[cvsnt] cvs rename deletes file

Andreas Tscharner andreas.tscharner at metromec.ch
Mon Jun 7 09:19:34 BST 2004


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.


Hi all,

>>D:\Metromec\misc\Test\Test2>cvs rename ReadMe.txt READMEFIRST
>>
>>D:\Metromec\misc\Test\Test2>cvs update
> 
> 
> Don't you have to do a commit after the rename?

Uh, oh.
Don't know actually, but a short test showed me:


07.06.2004  08:55    <DIR>          .
07.06.2004  08:55    <DIR>          ..
07.06.2004  08:53             1'033 FCR25.DAT
07.06.2004  08:53             3'683 FCR25.xml
07.06.2004  08:53             5'904 FCR25.xsd
                3 Datei(en)         10'620 Bytes
                2 Verzeichnis(se),  9'600'319'488 Bytes frei

D:\[...]\Test2>cvs rename FCR25.DAT FlexibleChangeRack25.DAT

D:\Metromec\misc\Test\Test2>cvs commit
cvs commit: Examining .
cvs server: Examining .
cvs server: Up-to-date check failed for `FlexibleChangeRack25.DAT'
cvs [server aborted]: correct above errors first!
cvs commit: saving log message in C:\temp\cvs2B5.tmp

Anyway: Even if I don't make a commit, the file must not be deleted when 
updating IMHO.

Regards
	Andreas
-- 
Andreas Tscharner                          andreas.tscharner at metromec.ch
------------------------------------------------------------------------
Real coders don't comment their code. It was hard to write, it should be
hard to understand.                 -- from the Linux Kernel Mailinglist



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