[cvsnt] Problem with cvs export fails randomly ("Directory not empty" & "Entries.Log" errors)

Sriharsha B hare23 at gmail.com
Thu Jul 16 14:40:38 BST 2009


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.


 Hello All,

I am facing a strange problem with cvs export.

The command is not fully exporting the repository. Export fails after
exporting some projects.

Interestingly the number of projects it exports are different for each
execution and every time the error message I get is:

"*cvs export: cannot remove CVS directory: Directory not empty*
* cvs [export aborted]: cannot open CVS/Entries.Log: Permission denied*"

I am using cvsnt server 2.5.03

Can someone help me out?

Here is my export script.

Best regards,
Harsha
<B>
////////////////////////////////////////////////////////////
@rem ************ Log start time ******************
@echo Export time: > D:backup_scriptsgeneric_export_results.txt
@date /T >> D:backup_scriptsgeneric_export_results.txt
@time /T >> D:backup_scriptsgeneric_export_results.txt


@rem **************************************************************
@rem ************ Set some environment variables ******************
@rem **************************************************************
@SET HOMEDRIVE=D:
@SET HOME=D:CvsDatagenericCVSROOT
@SET CVSROOT=:pserver:sam at srvr42:d:/CvsData/generic

@rem *************************************************
@rem ************ switch to drive E ******************
@rem *************************************************
@d:
@cd
@rd /S /Q d:exportcvs_export
@echo Temporary export directory on d: removed. >>
D:backup_scriptsgeneric_export_results.txt

@rem ******************************************
@rem ************ Export CVS ******************
@rem ******************************************
@"C:Progra~1cvsntcvs" -d d:CvsDatageneric export -r HEAD -d
d:exportcvs_export -N . >> D:backup_scriptsgeneric_export_results.txt
@echo CVS export completed. >> D:backup_scriptsgeneric_export_results.txt
@time /T >> D:backup_scriptsgeneric_export_results.txt
@rem if errorlevel 1 goto fout


@rem **********************************************
@rem ************ Log stop time ******************
@rem **********************************************
@echo Finished witout errors: >> D:backup_scriptsgeneric_export_results.txt
@date /T >> D:backup_scriptsgeneric_export_results.txt
@time /T >> D:backup_scriptsgeneric_export_results.txt
@rem exit
@goto the_end

@rem ==============================================
@rem ========== ERROR SITUATIONS ==================
@rem ==============================================

:fout
@rem ************ Log stop time ******************
@echo Finished with errors: >> D:backup_scriptsgeneric_export_results.txt
@date /T
>> D:backup_scriptsgeneric_export_results.txt
@time /T >> D:backup_scriptsgeneric_export_results.txt

:the_end
///////////

<B>


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